WO2009048285A2 - Apparatus and method of driving loadable device component - Google Patents

Apparatus and method of driving loadable device component Download PDF

Info

Publication number
WO2009048285A2
WO2009048285A2 PCT/KR2008/005958 KR2008005958W WO2009048285A2 WO 2009048285 A2 WO2009048285 A2 WO 2009048285A2 KR 2008005958 W KR2008005958 W KR 2008005958W WO 2009048285 A2 WO2009048285 A2 WO 2009048285A2
Authority
WO
WIPO (PCT)
Prior art keywords
component
loadable
load type
xml data
type property
Prior art date
Application number
PCT/KR2008/005958
Other languages
French (fr)
Other versions
WO2009048285A3 (en
Inventor
Chan Yong Lee
Nam Hoon Park
Original Assignee
Electronics And Telecommunications Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020080059199A external-priority patent/KR100957453B1/en
Application filed by Electronics And Telecommunications Research Institute filed Critical Electronics And Telecommunications Research Institute
Priority to US12/682,397 priority Critical patent/US8301644B2/en
Publication of WO2009048285A2 publication Critical patent/WO2009048285A2/en
Publication of WO2009048285A3 publication Critical patent/WO2009048285A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Definitions

  • the present invention relates to a method and apparatus for driving a device component in a system with a software structure based on Software Communication Architecture (SCA) (hereinafter, referred to as an "SCA-based system”), and more particularly, to a method and apparatus for driving a loadable device component that can simplify and effectively manage a recyclable component when driving a loadable device component.
  • SCA Software Communication Architecture
  • a Software Communication Architecture (SCA)-based system provides loading of a corresponding system in a loadable device.
  • the loadable device employs a mechanism that classifies, for each load type, an application file to be loaded in a particular file system and loads the classified application file.
  • the plurality of device components may exist in Device Configuration Descriptor (DCD) extensible Markup Language (XML) data, which makes the management complex.
  • DCD Device Configuration Descriptor
  • XML extensible Markup Language
  • An aspect of the present invention provides a method and apparatus for driving a loadable device component that can simplify and effectively manage a recyclable component when driving a loadable device component in a Software Communication Architecture (SCA)-based system. More particularly, an aspect of the present invention provides a method and apparatus for driving a loadable device component that can integrate device components of a device manager instead of managing the device components for each device and thereby reduce a waste of resources and improve utilization of resources.
  • SCA Software Communication Architecture
  • Another aspect of the present invention also provides a method and apparatus for driving a loadable device component that can manage only a single device component in a device manager and thereby simplify a Device Configuration Descriptor (DCD) extensible Markup Language (XML) data structure.
  • DCD Device Configuration Descriptor
  • XML extensible Markup Language
  • Another aspect of the present invention also provides a method and apparatus for driving a loadable device component that enables a device manager to parse only a single device component and thereby reducing a parsing time.
  • an apparatus for driving a loadable device component including: the loadable device component providing an application with a loading mechanism that is classified according to a load type property; a core framework module component defining a kind of the load type property; at least one extensible Markup Language (XML) data component containing configuration information and generation information of the loadable device component; and a device manager component driving a corresponding loadable device component after parsing the XML data component.
  • the loadable device component providing an application with a loading mechanism that is classified according to a load type property
  • a core framework module component defining a kind of the load type property
  • at least one extensible Markup Language (XML) data component containing configuration information and generation information of the loadable device component
  • XML extensible Markup Language
  • the loadable device component may include: a device interface providing a mechanism that allocates a capacity to a device or deallocates a capacity from the device; a loadable device interface inheriting the device interface to provide a mechanism that loads the application in a particular device; and a class inheriting the loadable device interface to realize the loadable device component.
  • a driving a device manager component defining, by a core framework module component, a kind of a load type property; parsing, by the device manager component, at least one XML data component that contains configuration information and generation information of the loadable device component providing a loading mechanism that is classified according to the load type property; and driving, by the device manager component, a corresponding loadable device component according to the parsing result.
  • a method of using a loadable device component including: driving a device manager component; parsing, by the device manager component, at least one XML data component that contains configuration information and generation information of the loadable device component providing a loading mechanism that is classified according to a load type property; driving, by the device manager component, a corresponding loadable device component according to the parsing result; selecting, by an application, the driven loadable device component; searching for, by the application, the load type property that is realized by the selected loadable device component; and executing a loading mechanism corresponding to the retrieved load type property.
  • a method and apparatus for driving a loadable device component that can simplify and effectively manage a recyclable component when driving a loadable device component in a Software Communication Architecture (SCA)-based system. Therefore, it is possible to integrate device components of a device manager instead of managing the device components for each device and thereby reduce a waste of resources and improve utilization of resources.
  • SCA Software Communication Architecture
  • FIG. 1 is a block diagram for describing a device operation in a device manager according to an embodiment of the present invention
  • FIG. 2 is a block diagram illustrating a loadable device component according to an embodiment of the present invention
  • FIG. 3 illustrates the structure of a load type in a core framework module according to an embodiment of the represent invention
  • FIG. 4 illustrates the structure of a load type property in a core framework module according to an embodiment of the present invention
  • FIG. 5 illustrates the structure of a Software Package Descriptor (SPD) extensible
  • XML Markup Language
  • FIG. 6 illustrates the structure of a Device Configuration Descriptor (DCD) XML data component according to an embodiment of the present invention
  • FIG. 7 is a flowchart illustrating a method of driving a loadable device component according to an embodiment of the present invention.
  • FIG. 8 is a flowchart illustrating a method of using a loadable device component in an application according to an embodiment of the present invention. Mode for the Invention
  • FIG. 1 is a block diagram for describing a device operation in a device manager 100 according to an embodiment of the present invention.
  • the device manager 100 functions to drive and manage a plurality of devices 110, 120, and 130.
  • the plurality of devices 110, 120, and 130 may perform a loadable operation, an executable operation, or an aggregate operation.
  • a device performing the loadable act may provide a mechanism that loads or unloads software in a particular device.
  • a modem or a Field Programmable Gate Array (FPGA) device corresponds to a loadable device.
  • FPGA Field Programmable Gate Array
  • a device performing the executable act may provide a mechanism that drives and executes software in the particular device.
  • a digital signal processor (DSP) device or a general purpose processor (GPP) device corresponds to an executable device.
  • a device performing the aggregate act may provide a mechanism that associates a device with another device or disassociates the device with the other device.
  • a multichannel device corresponds to an aggregate device.
  • the devices 110, 120, and 130 performing the above acts may provide logic device capability information and status information.
  • the device manager 100 may parse the devices 110, 120, and 130 defined in a Device Configuration Descriptor (DCD) extensible Markup Language (XML) 600 as shown in FIG. 6 to thereby load or drive the devices 110, 120, and 130.
  • DCD Device Configuration Descriptor
  • XML extensible Markup Language
  • the devices 110, 120, and 130 may register to the device manager 100 informing that that the devices 110, 120, and 130 are driven.
  • the device manager 100 may receive the above event and perform a function of initiating the devices 110, 120, and 130.
  • FIG. 2 is a block diagram illustrating a loadable device component 200 according to an embodiment of the present invention.
  • the loadable device component 200 may include a device interface 210 providing a mechanism that allocates a capacity (allocateCapacity) to a device or deallocates the capacity (deallocateCapacity) from device, a loadable device interface 220 inheriting the device interface 210 to provide a mechanism that loads an application in a particular device, and a class 230 inheriting the loadable device interface 220 to realize the loadable device component 200.
  • a device interface 210 providing a mechanism that allocates a capacity (allocateCapacity) to a device or deallocates the capacity (deallocateCapacity) from device
  • a loadable device interface 220 inheriting the device interface 210 to provide a mechanism that loads an application in a particular device
  • a class 230 inheriting the loadable device interface 220 to realize the loadable device component 200.
  • a load operation 221 of the loadable device interface 220 may use a mechanism that classifies, for each load type (loadkind: in LoadType), an application file (filename: in string) to be loaded in a particular file system (fs: in FileSystem) and loads the classified application file.
  • loadkind in LoadType
  • application file filename: in string
  • fs in FileSystem
  • the load operation 221 includes a parameter (params: in LoadTypeProperties) for classifying the same kind of load types. Accordingly, although a device with a different loading mechanism exists, there is no need to inherit the loadable device interface 220 and apply a loading mechanism for each device. Also, there is no need to construct a separate loadable device component for each device.
  • a plurality of loadable device components may exist to thereby consume a large amount of resources. Also, the management of the loadable device components in a device manager may become complex.
  • FIG. 3 illustrates the structure of a load type in a core framework module 300 according to an embodiment of the represent invention.
  • the load type will be described with reference to FIG. 3.
  • the core framework module 300 includes an enum element that defines a kind of the load type.
  • a load type (LoadType) 310 of the enum element may include a kernel module (KERNEL_MODULE) 311 for loading a kernel, a driver (DRIVER) 312 for loading a driver, a shared library (SHARED_LIBRARY) 313 for loading a library, and an executable unit (EXECUTABLE) 314 for loading a process.
  • KERNEL_MODULE kernel module
  • DRIVER driver
  • SHARED_LIBRARY shared library
  • EXECUTABLE executable unit
  • FIG. 4 illustrates the structure of a load type property in a core framework module
  • the core framework module 400 includes an enum element 410 that defines a kind of the load type property. Accordingly, it is possible to classify a component with a different loading mechanism but the same load type. Also, when a single loadable device component exists regardless of a plurality of loading mechanisms, it is possible to clearly classify a loading mechanism.
  • FIG. 4 illustrates an example where a kernel module 411 includes two loading mechanisms having the same road type but a different loading mechanism, KERNEL_MODULE_1 and KERNEL_MODULE_2, and an executable unit 412 includes three loading mechanisms, EXECUTABLE_1, EXECUT ABLE_2, and EX-
  • FIG. 5 illustrates the structure of a Software Package Descriptor (SPD) extensible
  • XML Markup Language
  • an XML data component may contain various types of information such as device setting information, device component configuration information, and the like, that are required to generate a device.
  • Examples of the XML data component may include a DCM XML data component DCD. xml, an SPD XML data component SPD.xml, a Software component Descriptor (SCD) XML data component SCD.xml, and the like.
  • An apparatus for driving a loadable device may include at least one XML data component.
  • the at least one XML data component may include the SPD XML data component
  • the device manager component 100 may parse the DCD XML data component 600 and then parse the SPD XML data component 500 to thereby drive the corresponding loadable device component 200.
  • a type property of a code element 510 may define a file 520 to be loaded in the SPD XML data component 500.
  • the load type (LoadType) of FIG. 3 may be defined in the type property of the code element 510.
  • the load type property (LoadTypeProperties) of FIG. 4 may be defined in a parameter property.
  • a value of the type property may use a value that is defined in the core framework module 300 of FIG. 3.
  • the kernel module (KERNEL_MODULE) 311 may use "Ker- nelModule”.
  • the driver (DRIVER) 312 may use "Driver”.
  • the shared library (SHARED_LIBRARY) 313 may use "SharedLibrary”.
  • the executable unit (EXECUTABLE) 314 may use "Executable”.
  • the SPD XML data component 500 may include the parameter property of FIG. 4 in the code element 510 to thereby branch to a corresponding loading mechanism and perform a process in the single loadable device component 200.
  • FIG. 6 illustrates the structure of the DCD XML data component 600 according to an embodiment of the present invention. Hereinafter, a device parsing in the device manager 100 will be described.
  • the device manager 100 may parse the
  • DCD XML data component 600 using an XML parser DCD XML data component 600 using an XML parser.
  • the file format of the DCD XML data component 600 may be simplified and the parsing time may be reduced.
  • FIG. 7 is a flowchart illustrating a method of driving a loadable device component according to an embodiment of the present invention.
  • the method of driving the loadable device component may include operation S710 of driving a device manager component, operation S720 of defining, by a core framework module component, a kind of a load type property operation S730 of parsing, by the device manager component, at least one XML data component containing configuration information and generation information of the loadable device component providing a loading mechanism that is classified according to a load type property, and operation S740 of driving, by the device manager component, a corresponding loadable device component according to the parsing result.
  • the device manager component may be driven by a batch system, a graphic user interface (GUI), or a user.
  • GUI graphic user interface
  • the core framework module component may define a kind of a load type property
  • the device manager component may parse, using an XML parser, at least one XML data component containing the configuration information and generation information of the loadable device component.
  • the at least one XML data component may include the SPD XML data component 500 and the DCD XML data component 600.
  • the device manager component may parse the DCD XML data component 600 and then parse the SPD data XML data component 500.
  • the device manager component may drive a corresponding loadable device component according to the parsing result.
  • FIG. 8 is a flowchart illustrating a method of using a loadable device component in an application according to an embodiment of the present invention.
  • the method of using the loadable device component in the application may include operation S810 of selecting, by the application, the driven loadable device component, operation S 820 of searching for, by the application, the load type property that is realized by the selected loadable device component, and operation S830 of executing a loading mechanism corresponding to the retrieved load type property.
  • the application to be loaded in a particular device may select the loadable device component driven in operation S730 of FIG. 7.
  • the application may search for load type property information that is realized by the selected loadable device component.
  • a loading mechanism corresponding to the retrieved load type property may be executed whereby the application may be loaded in the particular device according to the executed loading mechanism.
  • the loadable device component driving and using method according to the above- described exemplary embodiments may be recorded in computer-readable media including program instructions to implement various operations embodied by a computer.
  • the media may also include, alone or in combination with the program instructions, data files, data structures, and the like.
  • Examples of computer-readable media include magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD ROM disks and DVD; magneto-optical media such as floptical disks; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory (ROM), random access memory (RAM), flash memory, and the like.
  • Examples of program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter.
  • the described hardware devices may be configured to act as one or more software modules in order to perform the operations of the above-described embodiments of the present invention.

Abstract

An apparatus for driving a loadable device component, the apparatus including: the loadable device component providing an application with a loading mechanism that is classified according to a load type property; a core framework module component defining a kind of the load type property; at least one eXtensible Markup Language (XML) data component containing configuration information and generation information of the loadable device component; and a device manager component driving a corresponding loadable device component after parsing the XML data component.

Description

Description
APPARATUS AND METHOD OF DRIVING LOADABLE
DEVICE COMPONENT
Technical Field
[1] The present invention relates to a method and apparatus for driving a device component in a system with a software structure based on Software Communication Architecture (SCA) (hereinafter, referred to as an "SCA-based system"), and more particularly, to a method and apparatus for driving a loadable device component that can simplify and effectively manage a recyclable component when driving a loadable device component.
[2] This work was supported by the IT R&D program of MIC/IITA. [2006-S-012-02,
Development of Middleware Platform Technology based on the SDR Mobile Station] Background Art
[3] A Software Communication Architecture (SCA)-based system provides loading of a corresponding system in a loadable device. The loadable device employs a mechanism that classifies, for each load type, an application file to be loaded in a particular file system and loads the classified application file.
[4] In the case of the above scheme, if there is a device using the same load type but having a different loading mechanism, a scheme of inheriting a loadable device interface to thereby apply a loading mechanism for each device may need to be used in the current structure. Also, a different component may need to be constructed to perform an operation for each device.
[5] Accordingly, when a plurality of loadable devices exists, a plurality of device components may exist to thereby use a large amount of resources. In view of a device manager, management of device components may be complex.
[6] Also, since the device manager manages the plurality of device components, the plurality of device components may exist in Device Configuration Descriptor (DCD) extensible Markup Language (XML) data, which makes the management complex.
[7] Also, since the device manager parses the plurality of device components, parsing time may be unnecessarily long.
[8] In order to solve the above problems, there is a need for a method and apparatus for driving a loadable device component that can use a single device component where a plurality of loadable device interfaces is realized, instead of using a plurality of device components where the plurality of loadable device interface is realized, and thereby reduce a waste of resources and improve utilization of resources. Disclosure of Invention Technical Problem
[9] An aspect of the present invention provides a method and apparatus for driving a loadable device component that can simplify and effectively manage a recyclable component when driving a loadable device component in a Software Communication Architecture (SCA)-based system. More particularly, an aspect of the present invention provides a method and apparatus for driving a loadable device component that can integrate device components of a device manager instead of managing the device components for each device and thereby reduce a waste of resources and improve utilization of resources.
[10] Another aspect of the present invention also provides a method and apparatus for driving a loadable device component that can manage only a single device component in a device manager and thereby simplify a Device Configuration Descriptor (DCD) extensible Markup Language (XML) data structure.
[11] Another aspect of the present invention also provides a method and apparatus for driving a loadable device component that enables a device manager to parse only a single device component and thereby reducing a parsing time. Technical Solution
[12] According to an aspect of the present invention, there is provided an apparatus for driving a loadable device component, the apparatus including: the loadable device component providing an application with a loading mechanism that is classified according to a load type property; a core framework module component defining a kind of the load type property; at least one extensible Markup Language (XML) data component containing configuration information and generation information of the loadable device component; and a device manager component driving a corresponding loadable device component after parsing the XML data component.
[13] In this instance, the loadable device component may include: a device interface providing a mechanism that allocates a capacity to a device or deallocates a capacity from the device; a loadable device interface inheriting the device interface to provide a mechanism that loads the application in a particular device; and a class inheriting the loadable device interface to realize the loadable device component.
[14] According to another aspect of the present invention, there is provided a driving a device manager component; defining, by a core framework module component, a kind of a load type property; parsing, by the device manager component, at least one XML data component that contains configuration information and generation information of the loadable device component providing a loading mechanism that is classified according to the load type property; and driving, by the device manager component, a corresponding loadable device component according to the parsing result. [15] According to still another aspect of the present invention, there is provided a method of using a loadable device component, the method including: driving a device manager component; parsing, by the device manager component, at least one XML data component that contains configuration information and generation information of the loadable device component providing a loading mechanism that is classified according to a load type property; driving, by the device manager component, a corresponding loadable device component according to the parsing result; selecting, by an application, the driven loadable device component; searching for, by the application, the load type property that is realized by the selected loadable device component; and executing a loading mechanism corresponding to the retrieved load type property.
Advantageous Effects
[16] According to the present invention, there is provided a method and apparatus for driving a loadable device component that can simplify and effectively manage a recyclable component when driving a loadable device component in a Software Communication Architecture (SCA)-based system. Therefore, it is possible to integrate device components of a device manager instead of managing the device components for each device and thereby reduce a waste of resources and improve utilization of resources.
[17] Also, according to the present invention, it is possible to manage only a single device component in a device manager and thereby simplify a Device Configuration Descriptor (DCD) extensible Markup Language (XML) data structure.
[18] Also, according to the present invention, it is possible to enable a device manager to parse only a single device component and thereby reducing a parsing time. Brief Description of the Drawings
[19] FIG. 1 is a block diagram for describing a device operation in a device manager according to an embodiment of the present invention;
[20] FIG. 2 is a block diagram illustrating a loadable device component according to an embodiment of the present invention;
[21] FIG. 3 illustrates the structure of a load type in a core framework module according to an embodiment of the represent invention;
[22] FIG. 4 illustrates the structure of a load type property in a core framework module according to an embodiment of the present invention;
[23] FIG. 5 illustrates the structure of a Software Package Descriptor (SPD) extensible
Markup Language (XML) data component according to an embodiment of the present invention;
[24] FIG. 6 illustrates the structure of a Device Configuration Descriptor (DCD) XML data component according to an embodiment of the present invention;
[25] FIG. 7 is a flowchart illustrating a method of driving a loadable device component according to an embodiment of the present invention; and
[26] FIG. 8 is a flowchart illustrating a method of using a loadable device component in an application according to an embodiment of the present invention. Mode for the Invention
[27] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout. The exemplary embodiments are described below in order to explain the present invention by referring to the figures.
[28] FIG. 1 is a block diagram for describing a device operation in a device manager 100 according to an embodiment of the present invention.
[29] Referring to FIG. 1, the device manager 100 functions to drive and manage a plurality of devices 110, 120, and 130. The plurality of devices 110, 120, and 130 may perform a loadable operation, an executable operation, or an aggregate operation.
[30] A device performing the loadable act may provide a mechanism that loads or unloads software in a particular device. A modem or a Field Programmable Gate Array (FPGA) device corresponds to a loadable device.
[31] A device performing the executable act may provide a mechanism that drives and executes software in the particular device. A digital signal processor (DSP) device or a general purpose processor (GPP) device corresponds to an executable device.
[32] A device performing the aggregate act may provide a mechanism that associates a device with another device or disassociates the device with the other device. A multichannel device corresponds to an aggregate device.
[33] The devices 110, 120, and 130 performing the above acts may provide logic device capability information and status information.
[34] Specifically, the device manager 100 may parse the devices 110, 120, and 130 defined in a Device Configuration Descriptor (DCD) extensible Markup Language (XML) 600 as shown in FIG. 6 to thereby load or drive the devices 110, 120, and 130. Next, the devices 110, 120, and 130 may register to the device manager 100 informing that that the devices 110, 120, and 130 are driven. The device manager 100 may receive the above event and perform a function of initiating the devices 110, 120, and 130.
[35] FIG. 2 is a block diagram illustrating a loadable device component 200 according to an embodiment of the present invention.
[36] Referring to FIG. 2, the loadable device component 200 may include a device interface 210 providing a mechanism that allocates a capacity (allocateCapacity) to a device or deallocates the capacity (deallocateCapacity) from device, a loadable device interface 220 inheriting the device interface 210 to provide a mechanism that loads an application in a particular device, and a class 230 inheriting the loadable device interface 220 to realize the loadable device component 200.
[37] A load operation 221 of the loadable device interface 220 may use a mechanism that classifies, for each load type (loadkind: in LoadType), an application file (filename: in string) to be loaded in a particular file system (fs: in FileSystem) and loads the classified application file.
[38] Also, the load operation 221 includes a parameter (params: in LoadTypeProperties) for classifying the same kind of load types. Accordingly, although a device with a different loading mechanism exists, there is no need to inherit the loadable device interface 220 and apply a loading mechanism for each device. Also, there is no need to construct a separate loadable device component for each device.
[39] As described above, according to an aspect of the present invention, although a plurality of loading mechanisms exists, only the single loadable device component 200 may be required. Therefore, it is possible to effectively use resources and to simplify the management of the loadable device component 200 in a device manager.
[40] When the load operation 221 does not include the parameter (params: in LoadType¬
Properties) for classifying the same kind of load types and in this instance, a device using the same kind of load type but having a different loading mechanism exists, a scheme of inheriting the loadable device interface 220 to thereby apply a loading mechanism for each device may need to be used. Also, a separate component may need to be constructed to perform an operation for each device.
[41] Accordingly, when the plurality of loading mechanisms exists, a plurality of loadable device components may exist to thereby consume a large amount of resources. Also, the management of the loadable device components in a device manager may become complex.
[42] FIG. 3 illustrates the structure of a load type in a core framework module 300 according to an embodiment of the represent invention. Hereinafter, the load type will be described with reference to FIG. 3.
[43] Referring to FIG. 3, the core framework module 300 includes an enum element that defines a kind of the load type. A load type (LoadType) 310 of the enum element may include a kernel module (KERNEL_MODULE) 311 for loading a kernel, a driver (DRIVER) 312 for loading a driver, a shared library (SHARED_LIBRARY) 313 for loading a library, and an executable unit (EXECUTABLE) 314 for loading a process.
[44] FIG. 4 illustrates the structure of a load type property in a core framework module
400 according to an embodiment of the present invention. Hereinafter, the load type property will be described with reference to FIG. 4.
[45] Referring to FIG. 4, the core framework module 400 includes an enum element 410 that defines a kind of the load type property. Accordingly, it is possible to classify a component with a different loading mechanism but the same load type. Also, when a single loadable device component exists regardless of a plurality of loading mechanisms, it is possible to clearly classify a loading mechanism. [46] FIG. 4 illustrates an example where a kernel module 411 includes two loading mechanisms having the same road type but a different loading mechanism, KERNEL_MODULE_1 and KERNEL_MODULE_2, and an executable unit 412 includes three loading mechanisms, EXECUTABLE_1, EXECUT ABLE_2, and EX-
ECUTABLE_3.
[47] FIG. 5 illustrates the structure of a Software Package Descriptor (SPD) extensible
Markup Language (XML) data component 500 according to an embodiment of the present invention. Hereinafter, a load type property will be described with reference to FIG. 5.
[48] Generally, in an SCA-based system, an XML data component may contain various types of information such as device setting information, device component configuration information, and the like, that are required to generate a device. Examples of the XML data component may include a DCM XML data component DCD. xml, an SPD XML data component SPD.xml, a Software component Descriptor (SCD) XML data component SCD.xml, and the like.
[49] An apparatus for driving a loadable device according to an embodiment of the present invention may include at least one XML data component.
[50] The at least one XML data component may include the SPD XML data component
500 and the DCD XML data component 600.
[51] In this instance, the device manager component 100 may parse the DCD XML data component 600 and then parse the SPD XML data component 500 to thereby drive the corresponding loadable device component 200.
[52] Referring to FIG. 5, a type property of a code element 510 may define a file 520 to be loaded in the SPD XML data component 500. In this instance, the load type (LoadType) of FIG. 3 may be defined in the type property of the code element 510. The load type property (LoadTypeProperties) of FIG. 4 may be defined in a parameter property.
[53] A value of the type property may use a value that is defined in the core framework module 300 of FIG. 3. The kernel module (KERNEL_MODULE) 311 may use "Ker- nelModule". The driver (DRIVER) 312 may use "Driver". The shared library (SHARED_LIBRARY) 313 may use "SharedLibrary". The executable unit (EXECUTABLE) 314 may use "Executable".
[54] When the code element 510 defining a file 520 to be loaded in the SPD XML data component 500 uses only the type property, there is no way for classifying a component that has the same load type but a different loading mechanism.
[55] In addition to the type property, the SPD XML data component 500 may include the parameter property of FIG. 4 in the code element 510 to thereby branch to a corresponding loading mechanism and perform a process in the single loadable device component 200.
[56] FIG. 6 illustrates the structure of the DCD XML data component 600 according to an embodiment of the present invention. Hereinafter, a device parsing in the device manager 100 will be described.
[57] Referring to FIG. 6, in order to drive a device, the device manager 100 may parse the
DCD XML data component 600 using an XML parser.
[58] If a parameter property does not exist in the enum element 410 that defines the kind of the load type property in the core framework module 400 and in the code element 510 of the SPD XML data component 500, a plurality of device components of the same load type may exist, requiring a plurality of component file elements 610. Accordingly, the file format of the DCD XML data component 600 may become complex and a relatively long parsing time may be required.
[59] According to an aspect of the present invention, since the parameter property exists in the enum element 410 that defines the kind of the load type property in the core framework module 400 and in the code element 510 of the SPD data component 500, the file format of the DCD XML data component 600 may be simplified and the parsing time may be reduced.
[60] FIG. 7 is a flowchart illustrating a method of driving a loadable device component according to an embodiment of the present invention.
[61] Referring to FIG. 7, the method of driving the loadable device component may include operation S710 of driving a device manager component, operation S720 of defining, by a core framework module component, a kind of a load type property operation S730 of parsing, by the device manager component, at least one XML data component containing configuration information and generation information of the loadable device component providing a loading mechanism that is classified according to a load type property, and operation S740 of driving, by the device manager component, a corresponding loadable device component according to the parsing result.
[62] In operation S710, the device manager component may be driven by a batch system, a graphic user interface (GUI), or a user.
[63] In operation S720, the core framework module component may define a kind of a load type property
[64] In operation S730, the device manager component may parse, using an XML parser, at least one XML data component containing the configuration information and generation information of the loadable device component.
[65] In this instance, the at least one XML data component may include the SPD XML data component 500 and the DCD XML data component 600.
[66] Also, the device manager component may parse the DCD XML data component 600 and then parse the SPD data XML data component 500.
[67] In operation S740, the device manager component may drive a corresponding loadable device component according to the parsing result.
[68] FIG. 8 is a flowchart illustrating a method of using a loadable device component in an application according to an embodiment of the present invention.
[69] Referring to FIG. 8, the method of using the loadable device component in the application may include operation S810 of selecting, by the application, the driven loadable device component, operation S 820 of searching for, by the application, the load type property that is realized by the selected loadable device component, and operation S830 of executing a loading mechanism corresponding to the retrieved load type property.
[70] In operation S810, the application to be loaded in a particular device may select the loadable device component driven in operation S730 of FIG. 7.
[71] In operation S 820, the application may search for load type property information that is realized by the selected loadable device component.
[72] In operation S830, a loading mechanism corresponding to the retrieved load type property may be executed whereby the application may be loaded in the particular device according to the executed loading mechanism.
[73] The loadable device component driving and using method according to the above- described exemplary embodiments may be recorded in computer-readable media including program instructions to implement various operations embodied by a computer. The media may also include, alone or in combination with the program instructions, data files, data structures, and the like. Examples of computer-readable media include magnetic media such as hard disks, floppy disks, and magnetic tape; optical media such as CD ROM disks and DVD; magneto-optical media such as floptical disks; and hardware devices that are specially configured to store and perform program instructions, such as read-only memory (ROM), random access memory (RAM), flash memory, and the like. Examples of program instructions include both machine code, such as produced by a compiler, and files containing higher level code that may be executed by the computer using an interpreter. The described hardware devices may be configured to act as one or more software modules in order to perform the operations of the above-described embodiments of the present invention.
[74] Although a few exemplary embodiments of the present invention have been shown and described, the present invention is not limited to the described exemplary em- bodiments. Instead, it would be appreciated by those skilled in the art that changes may be made to these exemplary embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims

Claims
[1] An apparatus for driving a loadable device component, the apparatus comprising: the loadable device component providing an application with a loading mechanism that is classified according to a load type property; a core framework module component defining a kind of the load type property; at least one extensible Markup Language (XML) data component containing configuration information and generation information of the loadable device component; and a device manager component driving a corresponding loadable device component after parsing the XML data component. [2] The apparatus of claim 1, wherein the loadable device component comprises: a device interface providing a mechanism that allocates a capacity to a device or deallocates a capacity from the device; a loadable device interface inheriting the device interface to provide a mechanism that loads the application in a particular device; and a class inheriting the loadable device interface to realize the loadable device component. [3] The apparatus of claim 2, wherein the loadable device interface includes a parameter that defines the load type property in a load operation. [4] The apparatus of claim 1, wherein the core framework module component includes an enum element that defines the kind of the load type property. [5] The apparatus of claim 1, wherein the at least one XML data component includes a Software Package Descriptor (SPD) XML data component and a Device Configuration Descriptor (DCD) XML data component. [6] The apparatus of claim 5, wherein the SPD XML data component includes a parameter that indicates the load type property in a code element defining a file to be loaded. [7] The apparatus of claim 5, wherein the DCD XML data component includes only a single loadable device component file of the same load type. [8] A method of driving a loadable device component, the method comprising: driving a device manager component; defining, by a core framework module component, a kind of a load type property; parsing, by the device manager component, at least one XML data component that contains configuration information and generation information of the loadable device component providing a loading mechanism that is classified according to the load type property; and driving, by the device manager component, a corresponding loadable device component according to the parsing result. [9] The method of claim 8, wherein the loadable device component comprises: a device interface providing a mechanism that allocates a capacity to a device or deallocates a capacity from the device; a loadable device interface inheriting the device interface to provide a mechanism that loads the application in a particular device; and a class inheriting the loadable device interface to realize the loadable device component. [10] The method of claim 9, wherein the loadable device interface includes a parameter that defines the load type property in a load operation. [11] The method of claim 8, wherein the core framework module component includes an enum element that defines the kind of the load type property. [12] The method of claim 8, wherein the parsing parses a DCD XML data component and then parses an SPD XML data component. [13] The method of claim 12, wherein the SPD XML data component includes a parameter that indicates the load type property in a code element defining a file to be loaded. [14] The method of claim 12, wherein the DCD XML data component includes only a single loadable device component file of the same load type. [15] A method of using a loadable device component, the method comprising: driving a device manager component; parsing, by the device manager component, at least one XML data component that contains configuration information and generation information of the loadable device component providing a loading mechanism that is classified according to a load type property; driving, by the device manager component, a corresponding loadable device component according to the parsing result; selecting, by an application, the driven loadable device component; searching for, by the application, the load type property that is realized by the selected loadable device component; and executing a loading mechanism corresponding to the retrieved load type property.
PCT/KR2008/005958 2007-10-11 2008-10-10 Apparatus and method of driving loadable device component WO2009048285A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/682,397 US8301644B2 (en) 2007-10-11 2008-10-10 Apparatus and method of driving loadable device component

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR20070102590 2007-10-11
KR10-2007-0102590 2007-10-11
KR10-2008-0059199 2008-06-23
KR1020080059199A KR100957453B1 (en) 2007-10-11 2008-06-23 Apparatus and Method of Driving Loadable Device Component

Publications (2)

Publication Number Publication Date
WO2009048285A2 true WO2009048285A2 (en) 2009-04-16
WO2009048285A3 WO2009048285A3 (en) 2009-07-16

Family

ID=40549752

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2008/005958 WO2009048285A2 (en) 2007-10-11 2008-10-10 Apparatus and method of driving loadable device component

Country Status (1)

Country Link
WO (1) WO2009048285A2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040255300A1 (en) * 2003-06-13 2004-12-16 Microsoft Corporation Mechanism for asynchronous components to be application framework agnostic
JP2005084900A (en) * 2003-09-08 2005-03-31 Fuji Electric Systems Co Ltd Program management system
KR100499815B1 (en) * 2003-03-24 2005-07-07 주식회사 이네트 Component sharing and managing system and its method
KR20060065970A (en) * 2004-12-11 2006-06-15 한국전자통신연구원 A multi-mode communication terminal and a multi-mode method of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100499815B1 (en) * 2003-03-24 2005-07-07 주식회사 이네트 Component sharing and managing system and its method
US20040255300A1 (en) * 2003-06-13 2004-12-16 Microsoft Corporation Mechanism for asynchronous components to be application framework agnostic
JP2005084900A (en) * 2003-09-08 2005-03-31 Fuji Electric Systems Co Ltd Program management system
KR20060065970A (en) * 2004-12-11 2006-06-15 한국전자통신연구원 A multi-mode communication terminal and a multi-mode method of the same

Also Published As

Publication number Publication date
WO2009048285A3 (en) 2009-07-16

Similar Documents

Publication Publication Date Title
JP5042993B2 (en) How to configure a software application
US9325592B2 (en) System and method for performance data collection in a virtual environment
CN110162345B (en) Application program access method and device and storage medium
US7890956B2 (en) Method and system for implementing built-in web services endpoints
US6463565B1 (en) Method for designing object-oriented table driven state machines
KR100903999B1 (en) System and method for operating domain profile using database in a core framework for SDR mobile terminals
CN102736917B (en) Manage the technology of the object set in isomerous environment
US8549474B2 (en) Method and system for implementing WS-policy
CN111090823B (en) Page application integration system, application access method, device and equipment
US20100107017A1 (en) Method to Isolate Crash of an Embedded Multi-Threaded Application to a Shared Library Call Without Core Dump Files or Debugger
US20060294141A1 (en) Smart business object proxy
CN103473102B (en) The system start-up bootstrap technique of multiple operating system and instrument
US20090132801A1 (en) Configuration management for real-time server
US20070061277A1 (en) Method, system, and storage medium for providing dynamic deployment of grid services over a computer network
US9847908B2 (en) Resource management method and management server
US8301644B2 (en) Apparatus and method of driving loadable device component
CN113064676A (en) Method for remote component sharing mechanism during front-end operation based on JS entrance
WO2009048285A2 (en) Apparatus and method of driving loadable device component
CN110008042A (en) A kind of algorithm Cascading Methods and system based on container
US7590969B2 (en) Type system
CN112650512A (en) Hardware driving method and device, terminal and storage medium
CN104063229A (en) Digital family middleware system
Taherkordi et al. A generic component-based approach for programming, composing and tuning sensor software
Paredes del Rio Decoupling Application Intelligence and its Orchestration on IoT Devices
CN104881305A (en) Method and terminal for loading Fragment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08836972

Country of ref document: EP

Kind code of ref document: A2

WWE Wipo information: entry into national phase

Ref document number: 12682397

Country of ref document: US

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08836972

Country of ref document: EP

Kind code of ref document: A2