Serialization

Định nghĩa Serialization là gì?

SerializationSerialization. Đây là nghĩa tiếng Việt của thuật ngữ Serialization - một thuật ngữ thuộc nhóm Technology Terms - Công nghệ thông tin.

Độ phổ biến(Factor rating): 5/10

Tuần tự hóa là quá trình chuyển đổi thông tin trạng thái của một trường hợp đối tượng thành một dạng nhị phân hoặc văn bản để tồn tại thành phương tiện lưu trữ hoặc vận chuyển qua mạng. Serialization được thực hiện bởi Common Language Runtime (CLR) để lưu thông tin trạng thái hiện tại của một đối tượng để tạm thời (như ASP.NET Cache) hoặc lưu trữ vĩnh viễn (tập tin, cơ sở dữ liệu, vv) để được sử dụng sau này để cập nhật một đối tượng với các thông tin tương tự. Nó liên quan đến việc chuyển đổi của các thành viên công cộng và tư nhân của một đối tượng trong đó có tên của lớp và lắp ráp thành một dòng byte, sau đó được ghi vào dòng dữ liệu. Quá trình ngược chuyển đổi dòng bit thành một đối tượng được gọi là deserialization. .NET framework cung cấp hai phương pháp serialization, cụ thể là, serialization nhị phân và serialization XML. serialization nhị phân lưu giữ trạng thái của đối tượng giữa lời gọi khác nhau của một ứng dụng bằng cách giữ gìn loại trung thực. XML serialization sử dụng XML như một tiêu chuẩn mở để serialize chỉ tài sản công cộng và các lĩnh vực. Nó không bảo tồn loại chung thủy nhưng cung cấp hỗ trợ cho serialization trong con người có thể đọc được, cross-platform XML. Khung cung cấp nhiều tùy chọn để tùy chỉnh quá trình tuần tự để yêu cầu đáp ứng ứng dụng.

Xem thêm: Thuật ngữ công nghệ A-Z

Giải thích ý nghĩa

What is the Serialization? - Definition

Serialization is the process of converting the state information of an object instance into a binary or textual form to persist into storage medium or transported over a network. Serialization is executed by Common Language Runtime (CLR) to save an object‘s current state information to a temporary (like ASP.NET cache) or permanent storage (file, database, etc.) so as to be used later to update an object with this same information. It involves the conversion of public and private members of an object including the name of class and assembly into a stream of bytes, which is then written to data stream. The reverse process of converting stream of bits into an object is called deserialization. The .NET framework offers two methods of serialization, namely, binary serialization and XML serialization. Binary serialization preserves the state of the object between different invocations of an application by preserving type fidelity. XML serialization uses XML as an open standard to serialize only the public properties and fields. It does not preserve type fidelity but provides support for serialization in human-readable, cross-platform XML. The framework provides many options to customize the serialization process to meet application requirements.

Understanding the Serialization

Thuật ngữ liên quan

  • Data
  • Extensible Markup Language (XML)
  • Simple Object Access Protocol (SOAP)
  • Storage
  • Common Language Runtime (CLR)
  • .NET Framework (.NET)
  • World Wide Web Consortium (W3C)
  • Dimension Table
  • Augusta Ada King
  • Parse

Source: ? Technology Dictionary - Filegi - Techtopedia - Techterm

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *