Interface calling method and device, electronic equipment and storage medium
An interface calling and interface technology, applied in program control devices, execution paradigms, etc., can solve problems such as affecting system performance, difficulty in getting started, and increasing development workload, so as to improve calling performance, reduce code development, and realize convenience. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a schematic flowchart of an interface calling method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of calling an interface during the development process. This method can be executed by the interface calling device in the embodiment of the present invention. The device may be implemented in the form of software and / or hardware, and the hardware may be electronic equipment, such as a mobile terminal or a PC.
[0030] Such as figure 1 Said, the method of the embodiment of the present invention specifically includes the following steps:
[0031] Step 110: Obtain the target interface to be invoked, and analyze and process the target interface to be invoked to obtain interface attribute information.
[0032] Wherein, the target interface to be called can be understood as an interface waiting to be called at the current moment, or an interface to be called by other developers. In this embodiment, the target...
Embodiment 2
[0047] figure 2 It is a schematic flowchart of an interface calling method provided by Embodiment 2 of the present invention. On the basis of the above technical solutions, this embodiment further refines the technical solutions. On the basis of any optional technical solution in the embodiments of the present invention, this embodiment optionally, after determining the reusable component corresponding to the interface attribute information, further includes: calling the The encryption key corresponding to the target interface to be invoked, and based on the preset encryption tool and the encryption key, the interface attribute information is encrypted to obtain an encrypted file.
[0048] On the basis of any optional technical solution in the embodiments of the present invention, optionally, after acquiring the target interface to be invoked, parsing and processing the target interface to be invoked, and obtaining the interface attribute information, further includes: Base...
Embodiment 3
[0072] In order to make those skilled in the art more clear about the technical solutions of the embodiments of the present invention, the following uses an API as an example to give an example of a specific application scenario.
[0073] image 3 It is a schematic flow diagram of an interface calling method in an application scenario provided by an embodiment of the present invention; image 3 As shown in , the target interface to be called is API.
[0074] The method of the embodiment of the present invention may include the following steps:
[0075]Step 1: Get the API;
[0076] Step 2: Parse the input parameters, output parameters and method names of the API, and generate a predefined class file;
[0077] Step 3: Reassemble the parsed input and output parameters to generate a JavaBean file;
[0078] Step 4: Obtain the encryption key from the database, apply the MD5 algorithm to combine the input information with the encryption key, and generate an encrypted file;
[00...
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