Function calling method and device as well as smart card
A technology of functions and interface functions, which is applied in the field of data information, can solve problems such as the inability to call data storage areas, and achieve the effect of saving storage space and expanding storage space
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] This embodiment provides a method for calling a function, the chip that executes the calling method includes at least two storage areas and a common area shared by the at least two storage areas, and the at least two storage areas share a logical address ; The following will be described by taking one of the storage areas as the data storage area of the running program and the other storage area as the program storage area of the stored program; the method is as follows: figure 2 As shown, it mainly includes:
[0033] Step 101, acquire the access parameter sent by the data storage area, and acquire the index number of the interface function corresponding to the access parameter according to the access parameter in an index table.
[0034] Wherein, the access parameter can be understood as a representative form of the interface function that the user wants to call, including the parameter information of the function to be called to determine the specific interface f...
Embodiment 2
[0040] This embodiment specifically combines a data storage area as a block located in the high 32K address segment, called BANK2, and the program storage area that shares the high 32K address segment with the data storage area is also a block, called BANK1, and the lower 32K The address segment is the memory in the COMMON area (refer to figure 1 As shown in the chip) structure as an example, a method of calling a function is introduced, such as image 3 As shown, the method includes the following steps:
[0041]Step 201, obtaining the access parameter sent by the data storage area, and obtaining the index number of the interface function corresponding to the access parameter according to the access parameter in the index table;
[0042] Wherein, the above-mentioned function list records the call address of the interface function correspondingly according to the index number of the interface function corresponding to the access parameter;
[0043] For example, a list BASE co...
Embodiment 3
[0089] The structure of the chip memory provided in the embodiment 2 is: described under the situation that the program storage area that shares the address segment with the BANK (ie BANK2) of the data storage area only includes one program block (ie only includes BANK1), this implementation The example will specifically combine the chip structure in which the program storage area includes at least two banks sharing one address segment as an example, and provide the method of calling the function. Such as Figure 7 As shown, in this chip, BANK3 and BANK1 are both program blocks in the program storage area, and BANK3, BANK1 and BANK2 in the data storage area share the upper 32K address segment, that is, address 0x8000-0xFFFF. The difference between the execution of this embodiment and Embodiment 2 is that it also includes the following process:
[0090] A. Obtain the identifier of the program storage area where the interface function corresponding to the access parameter is lo...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com