Method and device for outputting application program interface data represented by specifications
A technology of application programming interface and standardization, which is applied in the computer field, can solve problems such as inconvenience, application program interface data not realizing standardized representation, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0048] see figure 1 , figure 1 It is a schematic structural diagram of a JavaScript API producer-consumer system provided in the first embodiment of the present application. Such as figure 1 As shown, the system includes a JavaScript API producer 101 , a network 102 and a JavaScript API consumer 103 . The server runs the JavaScript API producer 101 , and the client runs the JavaScript API consumer 103 . Meanwhile, the JavaScript API producer 101 and the JavaScript API consumer 103 communicate through the network 102 . The client can be any kind of programmable electronic device, running one or more JavaScript user applications.
[0049] It should be noted that JavaScript APIs may be used in different operating platforms or operating systems used by JavaScript API producers. For example, using the Microsoft Windows Server JavaScript API in an Apple iOS mobile application may result in a copy of the JavaScript API object model embedded in the mobile application platform and ...
no. 2 example
[0067] Please refer to image 3 , image 3 It is a schematic structural diagram of an apparatus for outputting application program interface data represented by a specification provided in the second embodiment of the present application. The device is applied to clients such as image 3 As shown, the device includes:
[0068] An instantiation module 301, configured to instantiate at least one object, obtain at least one object instance, and mark at least one attribute identifier of an application programming interface according to the at least one object instance;
[0069] The retrieval module 302 is configured to use the attribute identifier of each application program interface to recursively analyze the document object model associated with the application program interface to obtain all objects associated with the application program interface;
[0070] The instrumentation module 303 is configured to perform static analysis on all objects associated with the applicatio...
no. 3 example
[0083] Please refer to Figure 4 , Figure 4 It is a schematic structural diagram of an electronic device provided in the third embodiment of the present application. Such as Figure 4 As shown, it includes: a processor 401, a memory 402 and a bus 403. The memory 402 stores machine-readable instructions executable by the processor 401. When the electronic device is running, the processor 401 and the memory 402 communicate through the bus 403.
[0084] When the machine-readable instructions are executed by the processor 401, the following steps are performed in the method of outputting the application program interface data represented by the specification:
[0085] instantiate at least one object, obtain at least one object instance, and mark at least one attribute identifier of an application program interface according to the at least one object instance;
[0086] Using the attribute identification of each application program interface, recursively analyze the document obj...
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