Program call decoupling method and device, electronic device and storage medium
A program call and program technology, applied in the computer field, can solve problems such as low program start-up efficiency, achieve the effect of shortening start-up time and improving start-up efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] A program call decoupling method disclosed in this embodiment, such as figure 1 As shown, the method includes: Step 110 to Step 130.
[0025] Step 110, during program execution, in response to calling the first element in the program, load the dependency data in the binary data of the program into the runtime environment.
[0026] Wherein, the dependency data includes at least: an index key corresponding to the first element, and an index value corresponding to the second element, and the second element is an element on which the first element depends.
[0027] The programs described in the embodiments of the present application have corresponding binary data, and the binary data includes dependency data. The first element and the second element described in the embodiment of this application are used to represent two different elements, and the elements can be: functions, classes, methods, characters, strings, etc. that need to be accessed during the running of the pr...
Embodiment 2
[0036] A program call decoupling method disclosed in this embodiment, such as figure 2 As shown, the method includes: Step 210 to Step 250.
[0037] Step 210, according to the index key corresponding to the first element in the program and the second element on which the first element depends, determine the dependency relationship data composed of the index key and the index value corresponding to the second element.
[0038] During specific implementation, before loading the dependency relationship data in the binary data of the program into the runtime environment in response to the calling of the first element in the program during the execution of the program, it also includes: according to the The index key corresponding to the first element in the program, and the second element on which the first element depends, determine the dependency relationship data composed of the index key and the index value corresponding to the second element; the dependency relationship data...
Embodiment 3
[0076] A program call decoupling processing device disclosed in this embodiment, such as image 3 As shown, wherein the program has corresponding binary data, the binary data includes dependency data, and the device includes:
[0077] The dependency data loading module 310 is configured to load the dependency data in the binary data of the program into the runtime environment in response to calling the first element in the program during program execution, wherein the The dependency data includes at least: an index key corresponding to the first element, an index value corresponding to the second element, and the second element is an element on which the first element depends;
[0078] An index value determination module 320, configured to obtain an index value in the dependency data corresponding to the index key corresponding to the first element through the runtime environment;
[0079] A calling module 330, configured to call the second element corresponding to the index ...
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