KR101034697B1 - Method and system for supporting dynamic loading of mobile platform module - Google Patents
Method and system for supporting dynamic loading of mobile platform module Download PDFInfo
- Publication number
- KR101034697B1 KR101034697B1 KR20080077517A KR20080077517A KR101034697B1 KR 101034697 B1 KR101034697 B1 KR 101034697B1 KR 20080077517 A KR20080077517 A KR 20080077517A KR 20080077517 A KR20080077517 A KR 20080077517A KR 101034697 B1 KR101034697 B1 KR 101034697B1
- Authority
- KR
- South Korea
- Prior art keywords
- function
- platform
- application
- library
- loading
- Prior art date
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention relates to a support method and system for dynamically loading a mobile platform module of a mobile communication terminal.
According to the present invention, a method for supporting dynamic loading in a platform of a mobile environment, comprising: (a) an executable code of an application, a library necessary for executing the application, and the library so that the mobile platform-based application can be dynamically referred to; Constructing a dynamic dynamic linking library (DLL) (hereinafter referred to as RD) in which a list of functions stored therein is stored in a directory by constructing the module; (b) searching for the RD directory when a mobile platform based application is executed to call a function; (c) loading the RD including the function if the called function exists, loading the function through the address information of the function included in the RD, and returning the function to the application; And (d) searching for, loading, and returning a function from a library embedded in the platform if the called function does not exist. The method for supporting dynamic loading of a mobile platform module is disclosed.
WIPI, Library, DLL, Dynamic Loading
Description
The present invention relates to an operation implementation technology of a mobile platform of a mobile communication terminal, and more particularly, to a support method and system for dynamically loading a mobile platform module of a mobile communication terminal.
Starting with pagers, through cellular phones, personal cell phones and 3G mobile communications, the mobile environment has developed at a tremendous rate in recent years. With the development of wireless terminals, the search for additional services available through the terminals has been actively developed.
In addition, the widespread use of the Internet and the development of mobile communication technology have shown the possibility of wireless terminal as a means to access the Internet anytime and anywhere beyond a simple communication means. The user can freely move to the desired place while maintaining the network connection. Mobile network refers to a network data service using a phone, commonly referred to as the "mobile Internet." In other words, it is a combination of wireless communication technology and Internet technology.
Looking at the characteristics of the mobile network service is the advantage of excellent mobility and the fact that the network service can be used anytime and anywhere using a small terminal. On the other hand, there are limitations of display size, low capacity processor and memory, and performance of wireless network, which is significantly slower than existing wired internet.
Therefore, we are studying a service model that is different from the existing wired internet. For example, we provide services such as location information service, securities news, and breaking news.
Looking at the use of such wireless data, there are a browser method used in the early wireless Internet and a mobile download platform method using an VM to download and use an application. Recently, the most popular mobile download platform methods are the Wireless Internet Platform for Interoperability (WIPI) platform, Binary Runtime Environment for Wireless (BREW) platform, Mobile Application S / W Plug-In (MAP) platform, and Java 2 Micro (J2ME). Edition) platform.
Among these mobile platforms, the WIPI platform has been recently developed and is widely used as a national standard. However, since the WIPI platform module is released in the form of a static library, the WIPI platform module allocates all necessary resources (memory, etc.) together with the operation of the WIPI platform, thereby causing very inefficient use of resources of the mobile communication terminal.
SUMMARY OF THE INVENTION The present invention has been made to solve this problem, and an object thereof is to provide a method and a system for supporting dynamic loading so that the WIPI platform can be immediately referenced only when necessary without being loaded with all libraries when the WIPI platform is running. .
Further objects and advantages of the present invention can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.
In order to achieve the above object, the method for supporting dynamic loading of the WIPI platform module according to the present invention is a method for supporting dynamic loading in the WIPI platform of a mobile environment, so that (a) can be dynamically referenced during application execution. The WIPI runtime dynamic linking library (WRD), which stores the execution code of the WIPI application, the libraries necessary to execute the application, and the functions stored in the library, is stored in a directory Making; (b) searching for the WRD directory when an application based on the WIPI platform is executed to call a function; (c) loading the WRD including the function if the called function exists, loading the function through the address information of the function included in the WRD, and returning the function to the application; And (d) searching for, loading, and returning a function from a library built into the platform if the called function does not exist.
According to another aspect of the present invention, a system for supporting dynamic loading in the WIPI platform of the mobile environment, the executable code of the WIPI application, the library required for the application execution and stored in the library so that it can be referenced dynamically during application execution Storage means for storing a binary constructed as a directory in which a WIPI runtime dynamic linking library (DLL) (hereinafter referred to as WRD) in which a list of functions is stored is modularized; A WIPI platform module mounted on a mobile communication terminal in a mobile environment to execute a WIPI platform-based application and to load an application and a library into a memory; And calling a function when the application is executed in the WIPI platform module, searching the WRD directory of the storage means and loading the WRD including the corresponding function if the function exists and corresponding function through the address information of the corresponding function included in the WRD. Dynamic loading means for loading and returning to the running application, if the function does not exist to perform the process of searching for, loading and returning the function in the library built into the platform; Is provided.
According to another aspect of the present invention, a recording medium mounted on a mobile communication terminal to record a program for supporting the dynamic loading of the WIPI platform module, the executable code of the WIPI application to be referred to dynamically during application execution, WIPI Runtime Dynamic Linking Library (DLL) (hereinafter referred to as WRD) that stores library required to execute application and the list of functions stored in the library (hereinafter referred to as WRD) is modularized and stored in a directory, and WIPI platform based application When the function is called and the function is searched, the WRD directory is searched. If the called function exists, the WRD containing the function is loaded and the function is loaded through the address information of the function included in the WRD. Returns the procedure and flattened if the called function does not exist A computer-readable recording medium is provided which records a program which executes a procedure for retrieving, loading and returning functions from a library embedded in a form.
According to the present invention, the WIPI runtime dynamic linking library (DLL) is modularized and constructed so that the WIPI platform can be dynamically referred to during application execution, and when the platform module is run or the application is executed, it is first referred to and dynamically linked (loaded). It provides an effect that can efficiently use the resources of the mobile communication terminal.
In addition, by building modular WIPI runtime dynamic linking library, module development is possible, so it is easy to update and expand platform function, thereby reducing the cost of platform maintenance.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Prior to this, terms or words used in the specification and claims should not be construed as having a conventional or dictionary meaning, and the inventors should properly explain the concept of terms in order to best explain their own invention. Based on the principle that can be defined, it should be interpreted as meaning and concept corresponding to the technical idea of the present invention. Therefore, the embodiments described in the specification and the drawings shown in the drawings are only the most preferred embodiment of the present invention and do not represent all of the technical idea of the present invention, various modifications that can be replaced at the time of the present application It should be understood that there may be equivalents and variations.
1 is a diagram illustrating a configuration of a dynamic loading support system of a WIPI platform module according to an embodiment of the present invention.
Referring to FIG. 1, the
In general, a mobile communication terminal has an operating system for controlling hardware, and a middleware platform for controlling an application is mounted thereon. Based on this middleware platform, various applications are loaded and run. Here, in the drawings and the following detailed description, the WIPI platform is described as an example of the middleware platform which is a mobile platform as an embodiment of the present invention. However, the present invention is not limited thereto and various mobile platforms may be adopted.
The WIPI
The dynamic loading means 120 performs a function of dynamically loading a library including various functions during the driving of the
To this end, a WIPI Runtime Dynamic Linking Library (DLL) (hereinafter referred to as WRD), which stores the execution code of a WIPI application, a library required for executing the application, and a list of functions stored in the library, for dynamic reference during application execution. Build modularized). The modularized WRD is divided into directories and stored in the storage means 130 for storage management. The storage means 130 is a permanent recording medium, and stores information or data before being loaded into the memory. The
The dynamic loading means 120 serves to dynamically load the WRD thus constructed in response to a request from the WIPI
When the WRD
The WRD
The platform embedded
The
Accordingly, the present invention constructs a WIPI runtime dynamic linking library (DLL) in which the execution code of the WIPI application, the library required for the application execution, and the list of functions stored in the library are stored so that the application can dynamically refer to the application. Because it is modularized and used as a directory, it can be dynamically loaded and used while an application is running, and it can be loaded into memory whenever necessary and processed to reduce resource waste. In addition, due to the modular library, it is easy to update, change, and add, and also has an advantage of easy development.
Furthermore, the WRD is implemented in the WIPI platform code, which is a WIPI standard and an extension standard, for this advantage. In addition, the binary form of the WRD takes the form of a WIPI DLL with a stub for WRD. In addition, the WRD supports linking DLLs in an implicit manner.
Differences between WRD and WIPI DLL for general conventional applications according to the present invention are shown in Table 1 below.
Next, a dynamic loading support procedure in the dynamic loading support system of the WIPI platform module according to the present invention will be described with reference to the drawings.
2 is a flowchart illustrating a procedure of a method for supporting dynamic loading of a WIPI platform module according to an embodiment of the present invention.
Referring to FIG. 2, a procedure of modularizing a WIPI runtime dynamic linking library (DLL) and building it into a directory so that the WIPI platform module can be dynamically referred to during operation and application execution is performed. The WRD stores a list of execution codes, libraries, and functions of the WIPI application (S10).
After the WRD is built, the WIPI platform module is run or an application mounted on the WIPI platform is executed. At this time, it does not allocate all resources necessary for running the platform or executing the application. That is, it is not released in the form of a static library, but because the WRD is modularized and released (S20).
When the platform is driven or the application is executed, the program is loaded into the memory and a procedure of calling a function or class required by the program is performed.
When a function or class is called, a procedure of searching the constructed WRD directory is performed for the first time (S40).
If the function exists as a result of the search, the procedure checks whether the WRD containing the function is loaded in the memory. This is because the WRD is dynamically loaded and thus loaded / unloaded into the memory from time to time (S50).
If the WRD is not loaded, the searched WRD is extracted from the WRDD and loaded into the memory (S60).
Next, proceed to loading the function by referring to the address information of the function called from the loaded WRD. In addition, if it is checked in step S50 whether the corresponding WRD is loaded in the memory, a procedure of loading the corresponding function is performed through the loaded corresponding WRD. This procedure is to reduce unnecessary loading because the WRD has a shareable structure. (S70)
When the called function or class is loaded, the process returns to the application. (S80)
In addition, when the function or class called in step S40 does not exist in the WRDD, a procedure of searching for a library embedded in the WIPI platform is performed.
If the called function exists in the library embedded in the platform, the function is loaded and the function return processing as in step S80 is performed. On the other hand, if the function does not exist in the platform built-in library, the procedure for searching the library of the running application is performed. This is a final procedure, after extracting the function or class called from the library included in the application and loading it, the process in step S80 proceeds (S46).
3 is a diagram schematically illustrating a process of loading a class in WIPI according to a method for supporting dynamic loading of a WIPI platform module according to an embodiment of the present invention.
An example of a class loading process according to the present invention will be described with reference to FIG. 3.
As shown in the figure, first, the APP1 application is loaded to call a class. In this case, call the class symbol constant through the class name in the class symbol table. (1)
Next, search the installed WRD directory with the called class name. (2)
If a WRD corresponding to the called class name exists as a result of the search, it is checked whether the WRD is loaded in the memory, and if it is not loaded, it is loaded. Then, find the area for class loading in the class symbol table and class hash table of the WRD and load the class. Here, the class symbol table includes a list of functions referenced by the application, and the class hash table includes encryption information. (3,3-1)
On the other hand, if the corresponding WRD is not found in
In addition, if the corresponding class is not found in
The method of the present invention as described above may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form. Since this process can be easily implemented by those skilled in the art will not be described in more detail.
Although the present invention has been described above by means of limited embodiments and drawings, the present invention is not limited thereto and will be described below by the person skilled in the art to which the present invention pertains. Of course, various modifications and variations are possible within the scope of the claims.
The following drawings, which are attached to this specification, illustrate exemplary embodiments of the present invention, and together with the detailed description of the present invention serve to further understand the technical spirit of the present invention, the present invention includes matters described in such drawings. It should not be construed as limited to.
1 is a diagram illustrating a configuration of a dynamic loading support system of a WIPI platform module according to an embodiment of the present invention.
2 is a flowchart illustrating a procedure of a method for supporting dynamic loading of a WIPI platform module according to an embodiment of the present invention.
3 is a diagram schematically illustrating a process of loading a class in WIPI according to a method for supporting dynamic loading of a WIPI platform module according to an embodiment of the present invention.
<Explanation of symbols for the main parts of the drawings>
110: WIPI Platform Module
120: dynamic loading means
130: storage means
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20080077517A KR101034697B1 (en) | 2008-08-07 | 2008-08-07 | Method and system for supporting dynamic loading of mobile platform module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20080077517A KR101034697B1 (en) | 2008-08-07 | 2008-08-07 | Method and system for supporting dynamic loading of mobile platform module |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100018827A KR20100018827A (en) | 2010-02-18 |
KR101034697B1 true KR101034697B1 (en) | 2011-05-16 |
Family
ID=42089387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR20080077517A KR101034697B1 (en) | 2008-08-07 | 2008-08-07 | Method and system for supporting dynamic loading of mobile platform module |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101034697B1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101180981B1 (en) * | 2010-12-24 | 2012-09-10 | 전남대학교산학협력단 | Installer and method for adding dynamic library of android flatform |
KR101991687B1 (en) | 2012-11-23 | 2019-06-24 | 삼성전자 주식회사 | Dynamic library profiling method, computer readable recording medium storing thereof and dynamic library profiling system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050023797A (en) * | 2003-09-02 | 2005-03-10 | 에스케이 텔레콤주식회사 | Mobile Communication Terminal with Mobile Platform Supporting Common Control of I/O Device and Method for Control of I/O Device Using the Same |
KR20080038970A (en) * | 2006-10-31 | 2008-05-07 | 에스케이 텔레콤주식회사 | Terminal having a platform library dynamic linking function and controlling method for the same |
KR20080039154A (en) * | 2006-10-31 | 2008-05-07 | 에스케이 텔레콤주식회사 | Terminal system having a boot lazy loading function of the wireless internet platform module and controlling method for the same |
KR20080038971A (en) * | 2006-10-31 | 2008-05-07 | 에스케이 텔레콤주식회사 | Terminal having a lazy loading function of the wireless internet platform module and controlling method for the same |
-
2008
- 2008-08-07 KR KR20080077517A patent/KR101034697B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050023797A (en) * | 2003-09-02 | 2005-03-10 | 에스케이 텔레콤주식회사 | Mobile Communication Terminal with Mobile Platform Supporting Common Control of I/O Device and Method for Control of I/O Device Using the Same |
KR20080038970A (en) * | 2006-10-31 | 2008-05-07 | 에스케이 텔레콤주식회사 | Terminal having a platform library dynamic linking function and controlling method for the same |
KR20080039154A (en) * | 2006-10-31 | 2008-05-07 | 에스케이 텔레콤주식회사 | Terminal system having a boot lazy loading function of the wireless internet platform module and controlling method for the same |
KR20080038971A (en) * | 2006-10-31 | 2008-05-07 | 에스케이 텔레콤주식회사 | Terminal having a lazy loading function of the wireless internet platform module and controlling method for the same |
Also Published As
Publication number | Publication date |
---|---|
KR20100018827A (en) | 2010-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20050216718A1 (en) | Electronic device supporting multiple update agents | |
EP3128421B1 (en) | Method, device, and system for achieving java application installation by cloud compilation | |
US11722880B2 (en) | Electronic subscriber identity module (eSIM) profile delivery and activation system and methods | |
CN105760199B (en) | A kind of application resource loading method and its equipment | |
CN106095458A (en) | The management method of plug-in unit and device in a kind of application program | |
CN111095199B (en) | Application loading method and terminal equipment | |
CN101702130B (en) | Method for loading sharing function library with movable terminal and device thereof | |
CN102323887A (en) | Browser engine-based method for dynamically loading Widget and mobile terminal | |
CN101833464A (en) | Method and device for sectionally loading application programs by mobile terminal | |
CN114185491B (en) | Partition file downloading method and device, storage medium and computer equipment | |
US7363338B2 (en) | Selective assembly loading and execution based on platform capabilities | |
GB2555988A (en) | Multiple hardware platform oriented application program management method | |
KR101034697B1 (en) | Method and system for supporting dynamic loading of mobile platform module | |
KR101117165B1 (en) | Web platform unit for mobile terminal connectioned web-application program in heterogeneous operating system | |
CN101827158A (en) | Method and system for uniformly processing picture resources in cellphone | |
CN109190367B (en) | Method and device for running application program installation package by utilizing sandbox | |
CN112214250A (en) | Application program assembly loading method and device | |
US9250922B2 (en) | Method and apparatus for prefetching peripheral device drivers for smart phones and other connected devices prior to HLOS boot | |
KR100960505B1 (en) | Method for managing heterogeneity application in mobile communication terminal and mobile communication terminal using the same | |
CN111124618B (en) | Resource deployment method, device, storage medium and equipment | |
KR100924647B1 (en) | Method and system for managing mobile platform runtime dynamic linking library | |
CN101944120B (en) | Method and device for executing wireless markup language script | |
CN101169715A (en) | Control adding method | |
US20080294851A1 (en) | Method, apparatus, computer program product, and system for management of shared memory | |
US8010339B2 (en) | Storage device that provides efficient, updatable national language support for a mobile device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
N231 | Notification of change of applicant | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
J201 | Request for trial against refusal decision | ||
AMND | Amendment | ||
B701 | Decision to grant | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20140430 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |