Plug-in development and data acquisition method and device, electronic equipment and medium

A plug-in development and data acquisition technology, which is applied in software engineering design, electrical digital data processing, instruments, etc., can solve the problems of high maintenance cost, time-consuming and labor-intensive, error-prone, etc., and achieve the effect of saving labor costs and simple and effective operation

Pending Publication Date: 2021-08-10
挂号网(杭州)科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The disadvantage of the above solution 1 is that the creation and maintenance of the API interface is costly, and the method of manual API entry is cumbersome, time-consuming, labor-intensive and error-prone
Option 2 and Option 3 need to introduce non-project third-party packages (for example, swagger, etc.), which will increase the cost of learning operation and maintenance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Plug-in development and data acquisition method and device, electronic equipment and medium
  • Plug-in development and data acquisition method and device, electronic equipment and medium
  • Plug-in development and data acquisition method and device, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] figure 1 It is a flow chart of the plug-in development method provided in Embodiment 1 of the present application. This embodiment is applicable to the scenario where the application program interface needs to be quickly registered on the platform through the plug-in. The method can be executed by the plug-in development device provided in the embodiment of the present application, the device can be realized by software and / or hardware, and can be integrated into the electronic device.

[0038] Such as figure 1 As shown, the method of this embodiment specifically includes the following steps:

[0039] S110. Determine a data acquisition function code, where the data acquisition function code is used to acquire an API and a configuration file uploaded by a user.

[0040] Among them, the application programming interface (Application Programming Interface, referred to as: API) interface is an interface reserved by the operating system for programmers to call the underlyi...

Embodiment 2

[0051] figure 2 It is a flow chart of the plug-in development method in Embodiment 2 of the present invention, and this embodiment is optimized on the basis of the foregoing embodiments. The specific optimization is as follows: the plug-in development method further includes: obtaining the metadata registration template of the management background of the application program interface; according to the metadata registration template, constructing a metadata acquisition model, so as to obtain the metadata through the metadata acquisition model The metadata required by the management background and the determination of the metadata push function code, the metadata push code is used to log in the management background through the identity information in the configuration file, and push to the management background after successful login The metadata; adding the metadata push function code to the plug-in development code framework.

[0052] Such as figure 2 As shown, the metho...

Embodiment 3

[0065] image 3 It is a flow chart of the data acquisition method provided in Embodiment 3 of the present application. This embodiment is applicable to the scenario of quickly obtaining data from an API and registering the API to the platform through the acquired data. The method can be executed by the data acquisition device provided in the embodiment of the present application, and the device can be implemented by software and / or hardware, and can be integrated into an electronic device.

[0066] Such as image 3 As shown, the method of this embodiment specifically includes the following steps:

[0067] S310. Obtain the application program interface uploaded by the user through the application program interface parsing plug-in.

[0068] In this embodiment, optionally, the application program interface uploaded by the user is obtained through the application program interface parsing plug-in, and the configuration file of the application program interface is obtained at the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a plug-in development and data acquisition method and device, electronic equipment and a medium, and the method comprises the steps of determining a data acquisition function code which is used for acquiring an application program interface and a configuration file uploaded by a user; determining an analysis function code corresponding to the application program interface, wherein the analysis function code is used for analyzing the application program interface; and adding the data acquisition function code and the analysis function code into a plug-in development code framework to generate a development code of an application program interface analysis plug-in. According to the embodiment of the invention, the development of the application program interface analysis plug-in is realized through the above means, the developed plug-in can directly register the application program interface to the open platform, the problems of high time cost and high error rate of a registration method in the prior art are solved, the registration method is simplified, the expansibility is good, and a large amount of labor cost is saved.

Description

technical field [0001] The embodiments of the present application relate to the technical field of software development, and in particular to a plug-in development and data acquisition method, device, electronic device and medium. Background technique [0002] "Third-party" external partners access the core business capabilities of the enterprise through the open platform, and the business system needs to register their products and services to the open platform in the form of an API interface. [0003] The usual practice in the prior art is: 1. API is manually created, and the platform provides API configuration page management personnel to register the interface to the open platform through manual entry; 2. Swagger import, the business team creates the Swagger definition of the API entity, and Swagger imports the open platform batch creation / update API; 3. Custom annotations, this solution is an improvement on the second solution, and solves the scalability and compatibili...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/30
CPCG06F8/30G06F8/315
Inventor 殷伟陈兵杰
Owner 挂号网(杭州)科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products