Techniques for serialization of instances of the XQuery data model
    51.
    发明授权
    Techniques for serialization of instances of the XQuery data model 有权
    用于序列化XQuery数据模型实例的技术

    公开(公告)号:US07802180B2

    公开(公告)日:2010-09-21

    申请号:US11246429

    申请日:2005-10-06

    IPC分类号: G06N3/00

    CPC分类号: G06F17/30917 G06F17/30932

    摘要: A method for representing XML information is provided. A serialized image of XML information is generated. The serialized image comprises a collection of one or more serialized data values, where each particular serialized data value in the collection includes data associated with a particular serialized data value type of a plurality of serialized data value types. The serialized image may also comprise a first field that includes a first value, which indicates that the serialized image includes the collection of one or more serialized data values. In some embodiments, the method is performed at a database system that supports a native XML data type, wherein the XML information is one or more instances of the native XML data type.

    摘要翻译: 提供了一种表示XML信息的方法。 生成XML信息的序列化图像。 序列化图像包括一个或多个序列化数据值的集合,其中集合中的每个特定序列化数据值包括与多个序列化数据值类型的特定序列化数据值类型相关联的数据。 序列化图像还可以包括第一字段,其包括第一值,其指示序列化图像包括一个或多个序列化数据值的集合。 在一些实施例中,该方法在支持本机XML数据类型的数据库系统上执行,其中该XML信息是本机XML数据类型的一个或多个实例。

    Mapping web services description language documents to XQuery functions
    52.
    发明授权
    Mapping web services description language documents to XQuery functions 有权
    将Web服务描述语言文档映射到XQuery函数

    公开(公告)号:US07945893B2

    公开(公告)日:2011-05-17

    申请号:US11545932

    申请日:2006-10-10

    IPC分类号: G06F9/44

    CPC分类号: G06F9/547 G06F9/541

    摘要: Using a WSDL document to exchange an interface definition for back-end business logic includes automatically mapping various elements of the WSDL document to corresponding XQuery elements to generate an XQuery interface definition “skeleton”. From such an XQuery interface skeleton, an XQuery statement can be generated by filling in the body of the function that implements the logic. The XQuery statement serves as an interface definition for an interface to the function. Furthermore, at runtime a Web Service request that is based on the WSDL document can be translated into an XQuery call into an XQuery function that implements the logic defined in the WSDL document. From there, results are obtained from the XQuery function, translated into the appropriate return format defined in the WSDL, and returned.

    摘要翻译: 使用WSDL文档交换后端业务逻辑的接口定义包括将WSDL文档的各种元素自动映射到相应的XQuery元素,以生成XQuery接口定义“骨架”。 通过这样的XQuery接口框架,可以通过填充实现逻辑的函数体来生成XQuery语句。 XQuery语句用作函数接口的接口定义。 此外,在运行时,基于WSDL文档的Web服务请求可以转换为XQuery调用,以实现实现WSDL文档中定义的逻辑的XQuery函数。 从那里,结果从XQuery函数获得,转换为在WSDL中定义的适当的返回格式,并返回。

    Mapping Web Services Description Language documents to XQuery functions
    53.
    发明申请
    Mapping Web Services Description Language documents to XQuery functions 有权
    映射Web服务将语言文档描述为XQuery函数

    公开(公告)号:US20080098346A1

    公开(公告)日:2008-04-24

    申请号:US11545932

    申请日:2006-10-10

    IPC分类号: G06F9/44

    CPC分类号: G06F9/547 G06F9/541

    摘要: Using a WSDL document to exchange an interface definition for back-end business logic includes automatically mapping various elements of the WSDL document to corresponding XQuery elements to generate an XQuery interface definition “skeleton”. From such an XQuery interface skeleton, an XQuery statement can be generated by filling in the body of the function that implements the logic. The XQuery statement serves as an interface definition for an interface to the function. Furthermore, at runtime a Web Service request that is based on the WSDL document can be translated into an XQuery call into an XQuery function that implements the logic defined in the WSDL document. From there, results are obtained from the XQuery function, translated into the appropriate return format defined in the WSDL, and returned.

    摘要翻译: 使用WSDL文档交换后端业务逻辑的接口定义包括将WSDL文档的各种元素自动映射到相应的XQuery元素,以生成XQuery接口定义“骨架”。 通过这样的XQuery接口框架,可以通过填充实现逻辑的函数体来生成XQuery语句。 XQuery语句用作函数接口的接口定义。 此外,在运行时,基于WSDL文档的Web服务请求可以转换为XQuery调用,以实现实现WSDL文档中定义的逻辑的XQuery函数。 从那里,结果从XQuery函数获得,转换为在WSDL中定义的适当的返回格式,并返回。

    Techniques of XML query optimization over dynamic heterogeneous XML containers
    54.
    发明申请
    Techniques of XML query optimization over dynamic heterogeneous XML containers 审中-公开
    动态异构XML容器的XML查询优化技术

    公开(公告)号:US20080016088A1

    公开(公告)日:2008-01-17

    申请号:US11486798

    申请日:2006-07-13

    IPC分类号: G06F7/00

    CPC分类号: G06F16/86

    摘要: A method and apparatus for optimizing XML queries over heterogeneous XML tables is provided. A query that targets a container (e.g. table or collection) that contains a plurality of XML documents is received, wherein at least two XML documents in the plurality do not conform to the same schema. Based on the received query, a plurality of execution plans is generated. Each execution plan is associated with a different XML schema. An execution plan is used to execute the query relative to those XML documents that conform to the XML schema associated with the execution plan.

    摘要翻译: 提供了一种用于在异构XML表上优化XML查询的方法和装置。 接收到针对包含多个XML文档的容器(例如表或集合)的查询,其中多个中的至少两个XML文档不符合相同的模式。 基于接收到的查询,生成多个执行计划。 每个执行计划与不同的XML模式相关联。 执行计划用于执行相对于符合与执行计划相关联的XML模式的那些XML文档的查询。

    Techniques of optimizing XQuery functions using actual argument type information
    55.
    发明授权
    Techniques of optimizing XQuery functions using actual argument type information 有权
    使用实际参数类型信息优化XQuery函数的技术

    公开(公告)号:US07913241B2

    公开(公告)日:2011-03-22

    申请号:US11452769

    申请日:2006-06-13

    IPC分类号: G06F9/45 G06F7/00

    CPC分类号: G06F17/30935 G06F8/437

    摘要: A method for optimizing functions is described. A query including an invocation of a function is received. A function declaration indicates that the function is associated with a first set of datatypes. At compile-time, static type-checking is performed on the query. During the static type-checking, a second set of datatypes is determined for the function. The second set of datatypes includes the datatype of each argument of the function that is specified in the invocation. The query is compiled, where compiling the query includes compiling the function with the second set of datatypes.

    摘要翻译: 描述了优化功能的方法。 收到包含函数调用的查询。 函数声明指示该函数与第一组数据类型相关联。 在编译时,对查询执行静态类型检查。 在静态类型检查期间,为函数确定第二组数据类型。 第二组数据类型包括在调用中指定的函数的每个参数的数据类型。 该查询被编译,其中编译查询包括使用第二组数据类型编译该函数。

    Optimizing XSLT based on input XML document structure description and translating XSLT into equivalent XQuery expressions
    56.
    发明授权
    Optimizing XSLT based on input XML document structure description and translating XSLT into equivalent XQuery expressions 有权
    基于输入XML文档结构描述优化XSLT,并将XSLT转换为等价的XQuery表达式

    公开(公告)号:US07949941B2

    公开(公告)日:2011-05-24

    申请号:US11261684

    申请日:2005-10-28

    IPC分类号: G06F17/27

    CPC分类号: G06F17/227 G06F17/2247

    摘要: Transformation of a set of XML documents via an XSLT stylesheet is made more efficient by rewriting the stylesheet at compile-time, based on the structural description of the set of XML documents, into an optimized stylesheet containing fewer dynamic template-matching calls than the original stylesheet. This rewritten stylesheet can be further rewritten into a set of XQuery expressions. At compile-time, the particular transformation templates that are appropriate for transforming the particular nodes contained in the set of XML documents are determined, and XSLT calls to the templates are converted to calls to corresponding XQuery user-defined functions. Determination of the appropriate transformation templates may be based on the structural description of the input set of XML documents, such as an XML Schema or Document Type Definition. The data from each template is translated into corresponding XQuery constructors, instructions from the template are translated into XQuery expressions, and the XQuery functions are inlined if possible.

    摘要翻译: 通过XSLT样式表转换一组XML文档通过将编译时的样式表(基于XML文档集的结构描述)重写为优化样式表,使其具有比原始文本更少的动态模板匹配调用 样式表。 这个重写的样式表可以进一步重写成一组XQuery表达式。 在编译时,确定适合于转换XML文档集中的特定节点的特定转换模板,并将XSLT对模板的调用转换为对相应XQuery用户定义函数的调用。 确定适当的转换模板可以基于XML文档的输入集合的结构描述,例如XML模式或文档类型定义。 来自每个模板的数据被转换为相应的XQuery构造函数,模板中的指令将被转换为XQuery表达式,如果可能的话XQuery函数是内联的。

    Processing XML data stream(s) using continuous queries in a data stream management system
    57.
    发明申请
    Processing XML data stream(s) using continuous queries in a data stream management system 审中-公开
    在数据流管理系统中使用连续查询来处理XML数据流

    公开(公告)号:US20080120283A1

    公开(公告)日:2008-05-22

    申请号:US11601415

    申请日:2006-11-17

    IPC分类号: G06F17/30

    CPC分类号: G06F16/83

    摘要: A computer is programmed to accept queries over streams of, data structured as per a predetermined syntax (e.g. defined in XML). The computer is further programmed to execute such queries continually (or periodically) on data streams of tuples containing structured data that conform to the same predetermined syntax. In many embodiments, the computer includes an engine that exclusively processes only structured data, quickly and efficiently. The computer invokes the structured data engine in two different ways depending on the embodiment: (a) directly on encountering a structured data operator, or (b) indirectly by parsing operands within the structured data operator which contain path expressions, creating a new source to supply scalar data extracted from structured data, and generating additional trees of operators that are natively supported, followed by invoking the structured data engine only when the structured data operator in the query cannot be fully implemented by natively supported operators.

    摘要翻译: 计算机被编程为接受根据预定语法(例如以XML定义)结构化的数据流的查询。 计算机还被编程为在包含符合相同预定语法的结构化数据的元组的数据流上持续地(或周期性地)执行这样的查询。 在许多实施例中,计算机包括仅仅快速有效地处理结构化数据的引擎。 根据实施例,计算机以两种不同的方式调用结构化数据引擎:(a)直接遇到结构化数据运算符,或(b)间接地通过解析包含路径表达式的结构化数据运算符中的操作数,创建新的源 提供从结构化数据中提取的标量数据,并产生本机支持的操作符的附加树,之后仅当查询中的结构化数据运算符不能由本机支持的运算符完全实现时调用结构化数据引擎。

    Techniques of optimizing XQuery functions using actual argument type information
    58.
    发明申请
    Techniques of optimizing XQuery functions using actual argument type information 有权
    使用实际参数类型信息优化XQuery函数的技术

    公开(公告)号:US20070288429A1

    公开(公告)日:2007-12-13

    申请号:US11452769

    申请日:2006-06-13

    IPC分类号: G06F17/30 G06F7/00

    CPC分类号: G06F17/30935 G06F8/437

    摘要: A method for optimizing functions is described. A query including an invocation of a function is received. A function declaration indicates that the function is associated with a first set of datatypes. At compile-time, static type-checking is performed on the query. During the static type-checking, a second set of datatypes is determined for the function. The second set of datatypes includes the datatype of each argument of the function that is specified in the invocation. The query is compiled, where compiling the query includes compiling the function with the second set of datatypes.

    摘要翻译: 描述了优化功能的方法。 收到包含函数调用的查询。 函数声明指示该函数与第一组数据类型相关联。 在编译时,对查询执行静态类型检查。 在静态类型检查期间,为函数确定第二组数据类型。 第二组数据类型包括在调用中指定的函数的每个参数的数据类型。 该查询被编译,其中编译查询包括使用第二组数据类型编译该函数。

    Techniques of XML query optimization over static heterogeneous XML containers
    59.
    发明申请
    Techniques of XML query optimization over static heterogeneous XML containers 有权
    关于静态异构XML容器的XML查询优化技术

    公开(公告)号:US20080016122A1

    公开(公告)日:2008-01-17

    申请号:US11486794

    申请日:2006-07-13

    IPC分类号: G06F17/30

    摘要: A method and apparatus for optimizing XML queries over heterogeneous XML tables is provided. A query that targets a container (e.g. table or collection) that contains a plurality of XML documents is received, wherein at least two XML documents in the plurality do not conform to the same schema. Based on the received query, a plurality of execution plans is generated. Each execution plan is associated with a different XML schema. An execution plan is used to execute the query relative to those XML documents that conform to the XML schema associated with the execution plan.

    摘要翻译: 提供了一种用于在异构XML表上优化XML查询的方法和装置。 接收到针对包含多个XML文档的容器(例如表或集合)的查询,其中多个中的至少两个XML文档不符合相同的模式。 基于接收到的查询,生成多个执行计划。 每个执行计划与不同的XML模式相关联。 执行计划用于执行相对于符合与执行计划相关联的XML模式的那些XML文档的查询。

    Techniques of XML query optimization over static and dynamic heterogeneous XML containers
    60.
    发明授权
    Techniques of XML query optimization over static and dynamic heterogeneous XML containers 有权
    基于静态和动态异构XML容器的XML查询优化技术

    公开(公告)号:US07577642B2

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

    申请号:US11486794

    申请日:2006-07-13

    IPC分类号: G06F7/00

    摘要: A method and apparatus for optimizing XML queries over heterogeneous XML tables is provided. A query that targets a container (e.g. table or collection) that contains a plurality of XML documents is received, wherein at least two XML documents in the plurality do not conform to the same schema. Based on the received query, a plurality of execution plans is generated. Each execution plan is associated with a different XML schema. An execution plan is used to execute the query relative to those XML documents that conform to the XML schema associated with the execution plan.

    摘要翻译: 提供了一种用于在异构XML表上优化XML查询的方法和装置。 接收到针对包含多个XML文档的容器(例如表或集合)的查询,其中多个中的至少两个XML文档不符合相同的模式。 基于接收到的查询,生成多个执行计划。 每个执行计划与不同的XML模式相关联。 执行计划用于执行相对于符合与执行计划相关联的XML模式的那些XML文档的查询。