Interface combination control method and equipment and computer readable storage medium
A control method and technology for controlling equipment, which is applied in the direction of program control design, calculation, program control device, etc., can solve the problems of interface call speed not being improved, lack of dependent interfaces, startup speed reduction, etc., and achieve call speed improvement , enhanced optimization, and improved startup speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0084] image 3 It is a flowchart of the first embodiment of the interface merging control method of the present invention. A control method for interface merging, the method comprising:
[0085] S1. Mark the interface information of the application program;
[0086] S2. Determine the dependencies of the application program;
[0087] S3. Perform an interface merging operation according to the interface information and the dependency relationship;
[0088] S4. Independently cache the return value after the merging of the APIs.
[0089] In this embodiment, first, by marking the interface information of the application program; then, determining the dependency relationship of the application program; then, performing an interface merging operation according to the interface information and the dependency relationship; finally, independently caching the The return value after combining the above APIs.
[0090] Specifically, in this embodiment, firstly, the interface informati...
Embodiment 2
[0106] Figure 4 It is a flow chart of the second embodiment of the interface merging control method of the present invention. Based on the above embodiment, the interface information of the marking application program includes:
[0107] S11. Determine the keywords of the application;
[0108] S12. Mark the application program according to the keyword, and generate the interface information.
[0109] In this embodiment, firstly, a keyword of the application program is determined, and then the application program is marked according to the keyword to generate the interface information.
[0110] Specifically, in this embodiment, firstly, keywords of the application program are determined. Similarly, as described in the above example, during the application startup process, there may be interfaces with dependencies. For example, interface 1, interface 2, and interface 3. Interface 3 may use the return value of interface 1 and interface 2, and process them in one of its methods...
Embodiment 3
[0115] Figure 5 It is a flowchart of the third embodiment of the interface merging control method of the present invention. Based on the above embodiment, the determination of the dependencies of the application program includes:
[0116] S21. Determine interface information with dependencies and interface information without dependencies;
[0117] S22. Determine the required interface return value in the interface information with dependencies;
[0118] S23. Determine the dependency relationship between the application programs according to the return value of the interface.
[0119] In this embodiment, first, determine the interface information with dependencies and the interface information without dependencies; then, determine the required interface return value in the interface information with dependencies; finally, return the value according to the interface The value determines the dependencies between the applications.
[0120] Specifically, in this embodiment, fi...
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