Data abstraction based serialization
    3.
    发明授权
    Data abstraction based serialization 失效
    基于数据抽象的序列化

    公开(公告)号:US07730041B2

    公开(公告)日:2010-06-01

    申请号:US10925567

    申请日:2004-08-25

    IPC分类号: 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.

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

    Mechanisms for transferring raw data from one data structure to another representing the same item
    4.
    发明授权
    Mechanisms for transferring raw data from one data structure to another representing the same item 有权
    将原始数据从一个数据结构传输到另一个表示相同项目的机制

    公开(公告)号:US07574516B2

    公开(公告)日:2009-08-11

    申请号:US11049108

    申请日:2005-02-01

    IPC分类号: G06F15/16

    摘要: The transfer of raw data from a source data structure to a target data structure that represent the same item. During the data transfer, if there is a given field in the target data structure that does not correspond to a field supplied by the source data structure, the transfer mechanism determines whether or not it is mandatory that the source data structure supply the field. If it is mandatory, the transfer fails. Otherwise, the transfer continues. If there is field of the source data structure that does not correspond to a field of the target data structure, the transfer mechanism determines whether or not it is mandatory that the target data structure have the field. If it is mandatory, the transfer fails. Otherwise, the corresponding data may be provided to a residual field of the target data structure dedicated for unknown data.

    摘要翻译: 将原始数据从源数据结构传输到表示相同项目的目标数据结构。 在数据传输期间,如果目标数据结构中的给定字段与源数据结构提供的字段不对应,则传输机制确定源数据结构是否强制提供字段。 如果是强制性的,转移失败。 否则,转移继续。 如果源数据结构的字段与目标数据结构的字段不对应,则转移机制确定目标数据结构是否具有该字段是强制性的。 如果是强制性的,转移失败。 否则,可以将相应的数据提供给专用于未知数据的目标数据结构的残留字段。