Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Process and device for transferring parameter between application module and COM component

A technology for applying modules and passing parameters, applied in the computer field, can solve the problem of high resource cost of binary data or XML files, and achieve the effect of maintaining diversity and realizing low cost

Inactive Publication Date: 2009-03-11
SIEMENS CHINA
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] But the resource cost of converting objects to binary data or XML files is high

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
  • Process and device for transferring parameter between application module and COM component
  • Process and device for transferring parameter between application module and COM component
  • Process and device for transferring parameter between application module and COM component

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Hereinafter, the present invention will be described in detail in conjunction with the accompanying drawings.

[0045] In the scheme of realizing the transmission of complex parameters between application programs written in different languages ​​and COM components, the method and device of the present invention are described in detail by taking a vehicle driving recorder (VDR) system as an example.

[0046] Such as figure 1 Shown is the flow chart of the method for transferring parameters from the application module of the present invention to the COM component, including the following steps:

[0047] Step 101, the application module transmits a command to the adapter, the command contains complex parameters and / or simple parameters, and along with the command contains the unique identifier of the application module and the unique identifier of the COM component, which are used to link between multiple application modules and COM components Pass parameters between the...

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 present invention relates to the computer field. Aiming at solving the problem that a complex parameter can be mistaken when being transferred between an application module and COM groupwares compiled by different languages, and a method and a device for transferring the parameter between the application module and the COM groupwares is provided, wherein the device includes an adapter; a unique identifier for receiving instructions, parameters of the instruction, a unique identifier of the application module and a unique identifier of the COM groupwares; the present invention searches the map table according to the instruction unique identifier, and obtains the data structure information of the parameters, and transforms the parameters into simple parameters; a transforming module transforms the data structure of the simple parameter into a target data structure; a combining module receives the process result of the transforming module, transforms the simple parameter into complex parameters which can be outputted according to the application module unique identifier or the COM groupwares unique identifier. The present invention has the advantages that the present invention can transfer complex or simple parameters between the application module and the COM groupwares of the different or same language.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for transferring parameters between modules, specifically a method and device for transferring parameters between application modules and COM components. Background technique [0002] There are many COM component files in the current software system, such as dynamic link libraries (DLL files), and only one or more simple parameters of simple data types can be transmitted between COM components and application modules written in different programming languages ​​(referring to computer The basic data types mentioned in the programming language, such as int, char, etc.), cannot transmit complex parameters with complex data structures (Struct) (data types other than simple data types). For example, parameters with complex data structures cannot be transferred between DLL files generated by C++ and software written in C#. When we want to transfer parameters with complex data structur...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54
Inventor 唐宝王益玲徐敬俊刘俊崝
Owner SIEMENS CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products