Data abstraction based serialization
    1.
    发明申请
    Data abstraction based serialization 失效
    基于数据抽象的序列化

    公开(公告)号:US20060047679A1

    公开(公告)日:2006-03-02

    申请号:US10925567

    申请日:2004-08-25

    IPC分类号: G06F7/00 G06F17/00

    CPC分类号: G06F9/4493

    摘要: Serialization and deserialization using data contracts. The data contract specifies data types that are serialized and deserialized for data objects that are associated with the data contract. During serialization, the data contract associated with the data object is identified. Then, the data fields that correspond to those specified data field types are extracted from the data object and serialized into a serialization format. During deserialization, the serialization mechanism receives a serialized data structure having a particular serialization format. A data contract is then identified as being associated with the serialized data structure. After deserialization of the serialized data structure into abstract data, a corresponding data object is populated with data fields that correspond only with those data field types specified in the data contract. Accordingly, data abstraction is enabled while serializing and deserializing.

    摘要翻译: 使用数据合同进行序列化和反序列化。 数据合约指定与数据合同相关联的数据对象被序列化和反序列化的数据类型。 在序列化期间,识别与数据对象相关联的数据契约。 然后,从数据对象中提取对应于这些指定数据字段类型的数据字段,并将其序列化为序列化格式。 在反序列化期间,序列化机制接收具有特定序列化格式的序列化数据结构。 然后将数据合同识别为与序列化数据结构相关联。 将序列化数据结构反序列化为抽象数据后,将使用仅与数据合同中指定的数据字段类型对应的数据字段填充相应的数据对象。 因此,在序列化和反序列化时启用数据抽象。