Method for searching genus and function based on .Net card and the .Net card
A technology of functions and function names, which is applied in the field of .Net cards, can solve problems such as slow running speed, impossibility to satisfy .Net cards, and limited memory of .NET cards, and achieve the effect of successful positioning, less memory, and easy implementation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] see figure 1 , an embodiment of the present invention provides a method for finding classes and functions based on a .Net card, which is applied to the running process of an assembly inside a .Net card. This embodiment takes finding classes as an example to describe, and the method specifically includes:
[0045] Step 101: Connect the .Net card to the host through a card reader or remote access. The .Net card runs the assemblies stored in its internal storage area. The .Net card also has an index table pre-stored, and the index table includes an index value and the corresponding locator value used to find the class or function in the class library. For example, there is an index value 1 of the class Class1 in the index table, the location value corresponding to the index value is Token1=0x11, and the location value 0x11 in the class library of the .Net card corresponds to the entity content of the class Class1.
[0046] Step 102: Construct a first string according to t...
Embodiment 2
[0057] see figure 2 , an embodiment of the present invention also provides a method for searching classes and functions based on a .Net card, which is applied to the running process of an assembly inside a .Net card. This embodiment takes the search function as an example for description, and the method specifically includes: :
[0058] Step 201: Connect the .Net card to the host through a card reader or remote access. The .Net card runs the assemblies stored in its internal storage area. The .Net card also has an index table pre-stored, and the index table includes an index value and the corresponding locator value used to find the class or function in the class library.
[0059] Step 202: Construct a first string according to the information of the class to which the function currently running on the .Net card belongs.
[0060] Specifically, the first string can be formed by the class name and namespace of the class to which the function currently running on the .Net card...
Embodiment 3
[0074] see image 3 , an embodiment of the present invention also provides a .Net card, which specifically includes:
[0075] Storage module for storing assemblies and index tables;
[0076] The building module is used to construct a first string according to the information of the currently running class, or according to the information of the class and function of the currently running function when the .Net card runs the assembly stored in the storage module;
[0077] an operation module, used for computing the first string generated by the building module to obtain the first index value;
[0078] The search module is used for searching the corresponding first positioning value according to the first index value obtained by the operation module in the index table stored by the storage module, and the index value in the index table is generated according to the same method as generating the first index value; Used to find a class or function in the runtime class library of...
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