Interface calling method and device
A technology for calling interfaces and calling interfaces, applied in the direction of program control devices, etc., can solve the problems of inconvenient code modification and inconvenience of sensitive information on mobile phones.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0029] Such as figure 1 As shown, the embodiment of the present invention provides an interface calling method, including:
[0030] Defining step S101, pre-defining the interface calling rules in the configuration file;
[0031] Write in step S102, write the name and parameters of the application program that needs to call the interface into the configuration file;
[0032] Step S103 is called to automatically load the configuration file when the application program is running, read the information in the configuration file, execute the interface calling rules in the configuration file, and realize the interface calling.
[0033] The embodiment of the present invention provides a framework under the mixed development environment, defines the interface call rules in the configuration file in advance, and the developer does not need to write fixed codes, as long as the name and parameters of the application program that needs to call the interface are written into the configura...
specific Embodiment 2
[0041] Such as figure 2 As shown, the embodiment of the present invention provides an interface calling device, including:
[0042] The definition module 201 is used to pre-define the interface calling rules in the configuration file;
[0043] Write module 202, for writing the name and parameters of the application program that needs to call the interface into the configuration file;
[0044] The calling module 203 is configured to automatically load the configuration file when the application program is running, read the information in the configuration file, execute the interface calling rules in the configuration file, and realize the interface calling.
[0045]In the embodiment of the present invention, in the mixed development environment, the interface calling rules are defined in the configuration file in advance, and then the name and parameters of the application program that needs to call the interface are written into the configuration file, so that the configurat...
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