Abstract:
A method and system for Extensible Markup Language (XML) schema validation, includes: loading an XML document into a runtime validation engine, where the runtime validation engine includes an XML schema validation parser; loading an annotated automaton encoding (AAE) for an XML schema definition into the XML schema validation parser; and validating the XML document against the XML schema definition by the XML schema validation parser utilizing the annotated automaton encoding. Each XML schema definition is compiled once into the AAE format, rather than being compiled each time an XML document is validated, and thus significant time is saved. The code for the runtime validation engine is fixed and does not vary depending on the XML schema definition, rather than varying for each XML schema definition, and thus space overhead is minimized. Flexibility in the validation process is provided without compromising performance.
Abstract:
A method for controlling the use of a computing resource by multiple tenants in database as a service (DBaaS), includes: intercepting 410 a task that is to access a computer resource, the task being an operating system process or thread; identifying 420 a tenant that is in association with the task from the multiple tenants; determining 430 other tasks of the tenant that access the computing resource; and. Controlling 440 the use of the computing resource by the task. so that the total amount of usage of the computing resource by the task and. the other tasks will not exceed the limit of usage of the computing resource for the tenant. The computing resource may be central processing unit (CPU) and its usage may be controlled by calculating available time slices of CPU scheduling, and allocating time slices for execution to the task. The computing resource may be memory, its usage being controlled by allocating memory for the task from memory space reserved for the tenant.
Abstract:
A method and system for Extensible Markup Language (XML) schema validation, includes: loading an XML document into a runtime validation engine, where the runtime validation engine includes an XML schema validation parser; loading an annotated automaton encoding (AAE) for an XML schema definition into the XML schema validation parser; and validating the XML document against the XML schema definition by the XML schema validation parser utilizing the annotated automaton encoding. Each XML schema definition is compiled once into the AAE format, rather than being compiled each time an XML document is validated, and thus significant time is saved. The code for the runtime validation engine is fixed and does not vary depending on the XML schema definition, rather than varying for each XML schema definition, and thus space overhead is minimized. Flexibility in the validation process is provided without compromising performance.
Abstract:
A method and system for Extensible Markup Language (XML) schema validation, includes: loading an XML document into a runtime validation engine, where th e runtime validation engine includes an XML schema validation parser; loading an annotated automaton encoding (AAE) for an XML schema definition into the XML schema validation parser; and validating the XML document against the XML schema definition by the XML schema validation parser utilizing the annotate d automaton encoding. Each XML schema definition is compiled once into the AAE format, rather than being compiled each time an XML document is validated, a nd thus significant time is saved. The code for the runtime validation engine i s fixed and does not vary depending on the XML schema definition, rather than varying for each XML schema definition, and thus space overhead is minimized . Flexibility in the validation process is provided without compromising performance.
Abstract:
Es werden ein Verfahren und eine Vorrichtung zum Steuern der Nutzung einer Datenverarbeitungsressource durch mehrere Nutzer eines DBaaS-Dienstes beschrieben, wobei das Verfahren aufweist: Abfangen einer Task, die auf eine Datenverarbeitungsressource zugreifen soll, wobei es sich bei der Task um einen Betriebssystemprozess oder -thread handelt; Erkennen eines Nutzers der mehreren Nutzer, der der Task zugehörig ist; Ermitteln weiterer Tasks des Nutzers, die auf die Datenverarbeitungsressource zugreifen; und Steuern der Nutzung der Datenverarbeitungsressource durch die Task derart, dass der Gesamtumfang der Nutzung der Datenverarbeitungsressource durch die Task und die weiteren Tasks das Nutzungslimit der Datenverarbeitungsressource für den Nutzer nicht überschreitet.