Method and system for converting a schema-based hierarchical data structure into a flat data structure
    23.
    发明授权
    Method and system for converting a schema-based hierarchical data structure into a flat data structure 失效
    用于将基于模式的分层数据结构转换为平面数据结构的方法和系统

    公开(公告)号:US08051373B2

    公开(公告)日:2011-11-01

    申请号:US11326892

    申请日:2006-01-06

    IPC分类号: G06F17/00

    摘要: A method and system are provided for converting a hierarchical data structure into a flat data structure based on a schema. The format of the hierarchical data structure may be XML. A hierarchical data structure conforming to a schema is loaded into an application program. The data structure includes elements and attributes linked together in a parent-child relationship. The schema defines the hierarchical relationships between the elements and attributes in the hierarchical data structure. After the hierarchical data structure conforming to the schema has been loaded, a plurality of layout rules is applied to the hierarchical data based on the schema to create a flat data structure. The layout rules determine how the hierarchical data will be inserted in the flat data structure. The layout rules may be applied by identifying properties in the schema which identify occurrence requirements for elements defined in the schema. After the layout rules have been applied to the hierarchical data, the hierarchical data is rendered into a spreadsheet by inserting the data in rows and columns.

    摘要翻译: 提供了一种基于模式将层次数据结构转换为平面数据结构的方法和系统。 层次数据结构的格式可以是XML。 符合模式的分层数据结构被加载到应用程序中。 数据结构包括在父子关系中链接在一起的元素和属性。 该模式定义了分层数据结构中的元素和属性之间的分层关系。 在已经加载了符合模式的分层数据结构之后,基于模式将多个布局规则应用于分层数据,以创建平面数据结构。 布局规则确定分层数据将如何插入平面数据结构中。 可以通过标识模式中的属性来识别布局规则,以识别模式中定义的元素的出现要求。 在将布局规则应用于层次数据之后,通过以数据行和列的形式插入数据,将分层数据呈现为电子表格。

    FORMATTING DATA BY EXAMPLE
    28.
    发明申请
    FORMATTING DATA BY EXAMPLE 审中-公开
    按实例格式数据

    公开(公告)号:US20120192051A1

    公开(公告)日:2012-07-26

    申请号:US13014520

    申请日:2011-01-26

    IPC分类号: G06F17/00

    CPC分类号: G06F17/211

    摘要: Data formatting rules to convert data from one form to another form are automatically determined based on a user's edits. A machine learning heuristic is applied to a user's edits to determine a data formatting rule that may be applied to data. For example, a user may make edits that add/remove characters from data, concatenate data, extract data, rename data, and the like. The machine learning heuristic may be automatically triggered in response to an event (e.g. after a predetermined number of edits are made to a same type of data) or manually triggered (e.g. selecting a user interface option). The data formatting rule may be applied to other data and the results of the formatting reviewable by the user. Based on further edits/reviews, the data formatting rule may be updated. The data formatting rules may be stored for later use.

    摘要翻译: 根据用户的编辑自动确定将数据从一个表单转换为另一个表单的数据格式化规则。 机器学习启发式应用于用户的编辑以确定可应用于数据的数据格式化规则。 例如,用户可以进行从数据添加/移除字符,连接数据,提取数据,重命名数据等的编辑。 可以响应于事件(例如在对相同类型的数据进行预定数量的编辑)或手动触发(例如,选择用户界面选项)之后,可以自动地触发机器学习启发式。 数据格式规则可以应用于其他数据以及用户可评估的格式的结果。 根据进一步的编辑/评论,可能会更新数据格式规则。 可以存储数据格式化规则供以后使用。