Method for binding a program module
First Claim
1. A method for dynamically binding a program module in a terminal, in which one or several programs are running, said method comprising:
- storing subroutines in said program module,providing the program module with a subroutine name and parameters tag,starting the binding by the program making a call to a subroutine,supplementing the call with subroutine name and parameters data to select the program module for binding, in which the called subroutine is stored,supplementing the subroutine name and parameters tag with an auxiliary tag,supplementing the call with a public key,comparing said subroutine name and parameters tag stored in the program module with the subroutine name and parameters data transmitted in the call, comparing the auxiliary tag with the public key transmitted in the call, andselecting the program module to be bound to be the program module which matches with the subroutine name and parameters data and the public key transmitted in the call.
3 Assignments
0 Petitions
Accused Products
Abstract
The invention relates to a method for loading a program module (L1, L2, L3) in a terminal, in which one or several programs (A, B) are running, and in which method subroutines (P1, P2, P3) are stored in said program modules (L1, L2, L3). The program modules (L1, L2, L3) are provided with first tags (T1, T2, T3), wherein to start binding, the program makes a call (7) to a subroutine (P1, P2, P3). The call (7) is supplemented with the first tags (T1, T2, T3) to select the program module (L1, L2, L3) for binding, in which the called subroutine (P1, P2, P3) is stored. The tags (T1, T2, T3) are supplemented with second tags (LT1, LT2, LT3). The call (7) is also supplemented with said second call data (PKx, PKy, PKz). In connection with the binding, said first tags (T1, T2, T3) stored in the program modules are compared with the first tags (T1, T2, T3) transmitted in the call (7), and the second tags (LT1, LT2, LT3) are compared with the second call data (PKx, PKy, PKz) transmitted in the call (7), wherein the program module to be bound is selected to be the program module which matches with the first tags (T1, T2, T3) and the second call data (PKx, PKy, PKz) transmitted in the call. The invention also relates to a terminal (MT).
19 Citations
11 Claims
-
1. A method for dynamically binding a program module in a terminal, in which one or several programs are running, said method comprising:
-
storing subroutines in said program module, providing the program module with a subroutine name and parameters tag, starting the binding by the program making a call to a subroutine, supplementing the call with subroutine name and parameters data to select the program module for binding, in which the called subroutine is stored, supplementing the subroutine name and parameters tag with an auxiliary tag, supplementing the call with a public key, comparing said subroutine name and parameters tag stored in the program module with the subroutine name and parameters data transmitted in the call, comparing the auxiliary tag with the public key transmitted in the call, and selecting the program module to be bound to be the program module which matches with the subroutine name and parameters data and the public key transmitted in the call. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A terminal comprising:
-
means for dynamically binding a program module, in which program module contains at least one stored subroutine and a subroutine name and parameters tag, means for running programs, means for starting binding by performing in the program a call to a subroutine, the call being supplemented with subroutine name and parameters data to select that program module for binding in which the called subroutine is stored, wherein the program module contains a stored auxiliary tag; means for adding a public key to the call, means for comparing said subroutine name and parameters tag stored in the program module with the subroutine name and parameters data transmitted in the call, means for comparing the auxiliary tag with the public key transmitted in the call, and means for selecting a program module to be bound on the basis of said comparison, wherein the program module to be bound to be the program module which matches with the subroutine name and parameters data and the public key transmitted in the call. - View Dependent Claims (7, 8, 9)
-
-
10. A method in a terminal, in which one or several programs are running, said terminal comprising at least one program module, which is provided with a subroutine name and parameters tag and an auxiliary tag, and said at least one program module comprises at least one subroutine, wherein the method comprises:
-
making a call by the program to a subroutine; supplementing the call with first call data to select a program module for dynamically binding among said at least one program module, in which the called subroutine is stored; supplementing the call with a public key in connection with the binding; comparing said subroutine name and parameters tag stored in said at least one program module with the subroutine name and parameters data transmitted in the call; comparing the auxiliary tag with the public key transmitted in the call; and selecting the program module for binding to be the program module in which the subroutine name and parameters tag matches with the subroutine name and parameters data and the auxiliary tag matches with the public key.
-
-
11. A terminal comprising:
-
a binding server for dynamically binding a program module, which program module contains at least one subroutine, a subroutine name and parameters tag and an auxiliary tag; an element for running programs and configured to; perform in the program a call to a subroutine, supplementing the call with subroutine name and parameters data to select that program module for binding in which the called subroutine is stored; supplementing the call with a public key; comparing said subroutine name and parameters tag stored in the program module with the subroutine name and parameters data transmitted in the call; comparing the auxiliary tag with the public key transmitted in the call; and selecting a program module to be bound on the basis of said comparison, wherein the program module to be bound to be the program module which matches with the subroutine name and parameters data and the public key transmitted in the call.
-
Specification