Method for packaging UOML into application program interface

A technology of application program and programming interface, which is applied in the direction of program control device, programming language/parameter, special data processing application, etc., can solve the problems of heavy workload and low development efficiency, and achieve the effect of improving efficiency and saving workload

Inactive Publication Date: 2008-06-04
TIANJIN SURSEN INVESTMENT CO LTD +1
View PDF1 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If each application developer implements the parsing and processing of UOML XML text i

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for packaging UOML into application program interface
  • Method for packaging UOML into application program interface
  • Method for packaging UOML into application program interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The basic idea of ​​the present invention is to provide an application that can encapsulate UOML into different programming languages ​​by using the format characteristics of "action + object" of the UOML specification and the internal correspondence between UOML objects and classes or structures in programming languages. The method of program programming interface (API), so that when using different programming languages ​​to develop the application of the document library system, the API provided by the language for UOML can be directly called to improve the development efficiency of developers.

[0017] like figure 1 Shown, the method that UOML is encapsulated into programming language API of the present invention comprises the following steps:

[0018] Step 101: Map the UOML object to the composite data type of the programming language, the attributes of the UOML object correspond to simple data type variables or complex data type variables in the composite data typ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for enclosing UOML into API which comprises the following procedures that: the UOML object is mapped into a composite data type of the programming language, the property of the UOML object corresponds to the variables of simple data type or the variables of complex data type in the composite data type, sub-elements of the UOML object correspond to the variables of simple data type or the variables of complex data type in the composite data type; the UOML operation is mapped into an API function prototype of the programming language, the object of the UOML operation corresponds to the parameters of the API function prototype; the operation corresponding to the API function in an API function body of the programming language is converted into the UOML operation according to the defined mappings in the procedures, and the return result of the operation is converted into a return type of the programming language. The API functions of the UOML aiming at different programming languages are realized by the method, thereby, the application developers of different programming languages can directly realize the application on the document library system by calling the corresponding API function, and the developing efficiency is improved.

Description

technical field [0001] The invention relates to electronic document processing technology, in particular to a method for encapsulating UOML into an application programming interface. Background technique [0002] The UOML specification is a series of document library system commands defined in the format of "action + object" and described by XML language. The applicant has described it in detail in the specification of the patent application whose Chinese patent application number is CN200510131641.1. Since XML has cross-platform and cross-language capabilities, the UOML specification solves the problem of cross-platform and cross-language exchange of document library system commands. However, in the actual application process, the operation of the document library is generally controlled by the code implemented by the programming language. Therefore, the parsing and processing of the UOML XML text needs to be implemented in the code. If each application developer implemen...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44G06F17/30
CPCG06F8/31
Inventor 王东临邹开红
Owner TIANJIN SURSEN INVESTMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products